HSL(84, 50%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(84,50%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(84, 50%, 22%) | color: hsl(84, 50%, 22%) | |
| HEX | #3E541C | color: #3E541C | |
| RGB | rgb(62, 84, 28) | color: rgb(62, 84, 28) | |
| CMYK | cmyk(26%, 0%, 67%, 67%) | — | |
| HSV | hsv(84, 67%, 33%) | — | |
| HWB | hwb(84 11% 67%) | color: hwb(84 11% 67%) | |
| OKLCH | oklch(0.4144 0.0856 127.86) | color: oklch(0.4144 0.0856 127.86) | |
| Lab | lab(32.81 -18.56 29.24) | color: lab(32.81 -18.56 29.24) | |
| LCH | lch(32.81 34.63 122.41) | color: lch(32.81 34.63 122.41) |
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)
#48482A — rgb(72, 72, 42)
Deuteranopia (Green-blind)
#46452D — rgb(70, 69, 45)
Tritanopia (Blue-blind)
#3F3437 — rgb(63, 52, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(84, 50%, 22%);
text
color: hsl(84, 50%, 22%);
border
border: 2px solid hsl(84, 50%, 22%);
gradient light
background: linear-gradient(to right, hsl(84, 50%, 42%), hsl(84, 50%, 22%));
gradient dark
background: linear-gradient(to right, hsl(84, 50%, 22%), hsl(84, 50%, 2%))
hex
background-color: #3E541C;
tailwind
bg-[hsl(84,50%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(84, 50%, 22%, 0.4);
css variable
--color-primary: hsl(84, 50%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(84, 50%, 22%)?
HEX: #3E541C | RGB: rgb(62, 84, 28) | CMYK: 26%, 0%, 67%, 67% | HSV: 84°, 67%, 33%. Copy any format from the conversion table above.
What colors go well with #3E541C?
The complementary color is HSL(264, 50%, 22%). 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, 50%, 22%) in CSS?
As HSL: color: hsl(84, 50%, 22%); — As HEX: color: #3E541C; — As RGB: color: rgb(62, 84, 28); — Tailwind CSS: bg-[hsl(84,50%,22%)] — CSS variable: --color-primary: hsl(84, 50%, 22%);