HSL(72, 20%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(72,20%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(72, 20%, 23%) | color: hsl(72, 20%, 23%) | |
| HEX | #42462F | color: #42462F | |
| RGB | rgb(66, 70, 47) | color: rgb(66, 70, 47) | |
| CMYK | cmyk(6%, 0%, 33%, 73%) | — | |
| HSV | hsv(70, 33%, 27%) | — | |
| HWB | hwb(70 18% 73%) | color: hwb(70 18% 73%) | |
| OKLCH | oklch(0.3836 0.0373 116.21) | color: oklch(0.3836 0.0373 116.21) | |
| Lab | lab(28.76 -6.2 13.35) | color: lab(28.76 -6.2 13.35) | |
| LCH | lch(28.76 14.72 114.91) | color: lch(28.76 14.72 114.91) |
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)
#444435 — rgb(68, 68, 53)
Deuteranopia (Green-blind)
#444336 — rgb(68, 67, 54)
Tritanopia (Blue-blind)
#42393A — rgb(66, 57, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(72, 20%, 23%);
text
color: hsl(72, 20%, 23%);
border
border: 2px solid hsl(72, 20%, 23%);
gradient light
background: linear-gradient(to right, hsl(72, 20%, 43%), hsl(72, 20%, 23%));
gradient dark
background: linear-gradient(to right, hsl(72, 20%, 23%), hsl(72, 20%, 3%))
hex
background-color: #42462F;
tailwind
bg-[hsl(72,20%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(72, 20%, 23%, 0.4);
css variable
--color-primary: hsl(72, 20%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(72, 20%, 23%)?
HEX: #42462F | RGB: rgb(66, 70, 47) | CMYK: 6%, 0%, 33%, 73% | HSV: 70°, 33%, 27%. Copy any format from the conversion table above.
What colors go well with #42462F?
The complementary color is HSL(252, 20%, 23%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(72, 20%, 23%) in CSS?
As HSL: color: hsl(72, 20%, 23%); — As HEX: color: #42462F; — As RGB: color: rgb(66, 70, 47); — Tailwind CSS: bg-[hsl(72,20%,23%)] — CSS variable: --color-primary: hsl(72, 20%, 23%);