HSL(84, 40%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(84,40%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(84, 40%, 17%) | color: hsl(84, 40%, 17%) | |
| HEX | #2F3D1A | color: #2F3D1A | |
| RGB | rgb(47, 61, 26) | color: rgb(47, 61, 26) | |
| CMYK | cmyk(23%, 0%, 57%, 76%) | — | |
| HSV | hsv(84, 57%, 24%) | — | |
| HWB | hwb(84 10% 76%) | color: hwb(84 10% 76%) | |
| OKLCH | oklch(0.3381 0.0587 127.26) | color: oklch(0.3381 0.0587 127.26) | |
| Lab | lab(23.73 -12.73 19.58) | color: lab(23.73 -12.73 19.58) | |
| LCH | lch(23.73 23.35 123.03) | color: lch(23.73 23.35 123.03) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#353522 — rgb(53, 53, 34)
Deuteranopia (Green-blind)
#343325 — rgb(52, 51, 37)
Tritanopia (Blue-blind)
#30292B — rgb(48, 41, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(84, 40%, 17%);
text
color: hsl(84, 40%, 17%);
border
border: 2px solid hsl(84, 40%, 17%);
gradient light
background: linear-gradient(to right, hsl(84, 40%, 37%), hsl(84, 40%, 17%));
gradient dark
background: linear-gradient(to right, hsl(84, 40%, 17%), hsl(84, 40%, 0%))
hex
background-color: #2F3D1A;
tailwind
bg-[hsl(84,40%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(84, 40%, 17%, 0.4);
css variable
--color-primary: hsl(84, 40%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(84, 40%, 17%)?
HEX: #2F3D1A | RGB: rgb(47, 61, 26) | CMYK: 23%, 0%, 57%, 76% | HSV: 84°, 57%, 24%. Copy any format from the conversion table above.
What colors go well with #2F3D1A?
The complementary color is HSL(264, 40%, 17%). For a triadic harmony, use hues 84°, 204°, and 324°. For analogous combinations, try hues 54° and 114°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(84, 40%, 17%) in CSS?
As HSL: color: hsl(84, 40%, 17%); — As HEX: color: #2F3D1A; — As RGB: color: rgb(47, 61, 26); — Tailwind CSS: bg-[hsl(84,40%,17%)] — CSS variable: --color-primary: hsl(84, 40%, 17%);