HSL(89, 40%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(89,40%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(89, 40%, 20%) | color: hsl(89, 40%, 20%) | |
| HEX | #34471F | color: #34471F | |
| RGB | rgb(52, 71, 31) | color: rgb(52, 71, 31) | |
| CMYK | cmyk(27%, 0%, 56%, 72%) | — | |
| HSV | hsv(89, 56%, 28%) | — | |
| HWB | hwb(89 12% 72%) | color: hwb(89 12% 72%) | |
| OKLCH | oklch(0.3711 0.0671 130.07) | color: oklch(0.3711 0.0671 130.07) | |
| Lab | lab(27.67 -15.53 21.49) | color: lab(27.67 -15.53 21.49) | |
| LCH | lch(27.67 26.51 125.85) | color: lch(27.67 26.51 125.85) |
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)
#3C3C29 — rgb(60, 60, 41)
Deuteranopia (Green-blind)
#3B3A2B — rgb(59, 58, 43)
Tritanopia (Blue-blind)
#353032 — rgb(53, 48, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(89, 40%, 20%);
text
color: hsl(89, 40%, 20%);
border
border: 2px solid hsl(89, 40%, 20%);
gradient light
background: linear-gradient(to right, hsl(89, 40%, 40%), hsl(89, 40%, 20%));
gradient dark
background: linear-gradient(to right, hsl(89, 40%, 20%), hsl(89, 40%, 0%))
hex
background-color: #34471F;
tailwind
bg-[hsl(89,40%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(89, 40%, 20%, 0.4);
css variable
--color-primary: hsl(89, 40%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(89, 40%, 20%)?
HEX: #34471F | RGB: rgb(52, 71, 31) | CMYK: 27%, 0%, 56%, 72% | HSV: 89°, 56%, 28%. Copy any format from the conversion table above.
What colors go well with #34471F?
The complementary color is HSL(269, 40%, 20%). For a triadic harmony, use hues 89°, 209°, and 329°. For analogous combinations, try hues 59° and 119°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(89, 40%, 20%) in CSS?
As HSL: color: hsl(89, 40%, 20%); — As HEX: color: #34471F; — As RGB: color: rgb(52, 71, 31); — Tailwind CSS: bg-[hsl(89,40%,20%)] — CSS variable: --color-primary: hsl(89, 40%, 20%);