HSL(66, 20%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(66,20%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(66, 20%, 24%) | color: hsl(66, 20%, 24%) | |
| HEX | #474931 | color: #474931 | |
| RGB | rgb(71, 73, 49) | color: rgb(71, 73, 49) | |
| CMYK | cmyk(3%, 0%, 33%, 71%) | — | |
| HSV | hsv(65, 33%, 29%) | — | |
| HWB | hwb(65 19% 71%) | color: hwb(65 19% 71%) | |
| OKLCH | oklch(0.3965 0.0381 112) | color: oklch(0.3965 0.0381 112) | |
| Lab | lab(30.22 -5.42 14.14) | color: lab(30.22 -5.42 14.14) | |
| LCH | lch(30.22 15.14 110.97) | color: lch(30.22 15.14 110.97) |
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)
#484837 — rgb(72, 72, 55)
Deuteranopia (Green-blind)
#484838 — rgb(72, 72, 56)
Tritanopia (Blue-blind)
#473B3C — rgb(71, 59, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(66, 20%, 24%);
text
color: hsl(66, 20%, 24%);
border
border: 2px solid hsl(66, 20%, 24%);
gradient light
background: linear-gradient(to right, hsl(66, 20%, 44%), hsl(66, 20%, 24%));
gradient dark
background: linear-gradient(to right, hsl(66, 20%, 24%), hsl(66, 20%, 4%))
hex
background-color: #474931;
tailwind
bg-[hsl(66,20%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(66, 20%, 24%, 0.4);
css variable
--color-primary: hsl(66, 20%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(66, 20%, 24%)?
HEX: #474931 | RGB: rgb(71, 73, 49) | CMYK: 3%, 0%, 33%, 71% | HSV: 65°, 33%, 29%. Copy any format from the conversion table above.
What colors go well with #474931?
The complementary color is HSL(246, 20%, 24%). For a triadic harmony, use hues 66°, 186°, and 306°. For analogous combinations, try hues 36° and 96°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(66, 20%, 24%) in CSS?
As HSL: color: hsl(66, 20%, 24%); — As HEX: color: #474931; — As RGB: color: rgb(71, 73, 49); — Tailwind CSS: bg-[hsl(66,20%,24%)] — CSS variable: --color-primary: hsl(66, 20%, 24%);