HSL(67, 42%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(67,42%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(67, 42%, 21%) | color: hsl(67, 42%, 21%) | |
| HEX | #474C1F | color: #474C1F | |
| RGB | rgb(71, 76, 31) | color: rgb(71, 76, 31) | |
| CMYK | cmyk(7%, 0%, 59%, 70%) | — | |
| HSV | hsv(67, 59%, 30%) | — | |
| HWB | hwb(67 12% 70%) | color: hwb(67 12% 70%) | |
| OKLCH | oklch(0.401 0.0662 114.7) | color: oklch(0.401 0.0662 114.7) | |
| Lab | lab(30.9 -9.56 25.69) | color: lab(30.9 -9.56 25.69) | |
| LCH | lch(30.9 27.41 110.41) | color: lch(30.9 27.41 110.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)
#49492A — rgb(73, 73, 42)
Deuteranopia (Green-blind)
#49492D — rgb(73, 73, 45)
Tritanopia (Blue-blind)
#473234 — rgb(71, 50, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(67, 42%, 21%);
text
color: hsl(67, 42%, 21%);
border
border: 2px solid hsl(67, 42%, 21%);
gradient light
background: linear-gradient(to right, hsl(67, 42%, 41%), hsl(67, 42%, 21%));
gradient dark
background: linear-gradient(to right, hsl(67, 42%, 21%), hsl(67, 42%, 1%))
hex
background-color: #474C1F;
tailwind
bg-[hsl(67,42%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(67, 42%, 21%, 0.4);
css variable
--color-primary: hsl(67, 42%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(67, 42%, 21%)?
HEX: #474C1F | RGB: rgb(71, 76, 31) | CMYK: 7%, 0%, 59%, 70% | HSV: 67°, 59%, 30%. Copy any format from the conversion table above.
What colors go well with #474C1F?
The complementary color is HSL(247, 42%, 21%). For a triadic harmony, use hues 67°, 187°, and 307°. For analogous combinations, try hues 37° and 97°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(67, 42%, 21%) in CSS?
As HSL: color: hsl(67, 42%, 21%); — As HEX: color: #474C1F; — As RGB: color: rgb(71, 76, 31); — Tailwind CSS: bg-[hsl(67,42%,21%)] — CSS variable: --color-primary: hsl(67, 42%, 21%);