HSL(117, 50%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,50%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 50%, 23%) | color: hsl(117, 50%, 23%) | |
| HEX | #20581D | color: #20581D | |
| RGB | rgb(32, 88, 29) | color: rgb(32, 88, 29) | |
| CMYK | cmyk(64%, 0%, 67%, 65%) | — | |
| HSV | hsv(117, 67%, 35%) | — | |
| HWB | hwb(117 12% 65%) | color: hwb(117 12% 65%) | |
| OKLCH | oklch(0.4089 0.1078 142.49) | color: oklch(0.4089 0.1078 142.49) | |
| Lab | lab(32.65 -31.42 28.12) | color: lab(32.65 -31.42 28.12) | |
| LCH | lch(32.65 42.17 138.17) | color: lch(32.65 42.17 138.17) |
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)
#38392B — rgb(56, 57, 43)
Deuteranopia (Green-blind)
#35312F — rgb(53, 49, 47)
Tritanopia (Blue-blind)
#233739 — rgb(35, 55, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 50%, 23%);
text
color: hsl(117, 50%, 23%);
border
border: 2px solid hsl(117, 50%, 23%);
gradient light
background: linear-gradient(to right, hsl(117, 50%, 43%), hsl(117, 50%, 23%));
gradient dark
background: linear-gradient(to right, hsl(117, 50%, 23%), hsl(117, 50%, 3%))
hex
background-color: #20581D;
tailwind
bg-[hsl(117,50%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 50%, 23%, 0.4);
css variable
--color-primary: hsl(117, 50%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 50%, 23%)?
HEX: #20581D | RGB: rgb(32, 88, 29) | CMYK: 64%, 0%, 67%, 65% | HSV: 117°, 67%, 35%. Copy any format from the conversion table above.
What colors go well with #20581D?
The complementary color is HSL(297, 50%, 23%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(117, 50%, 23%) in CSS?
As HSL: color: hsl(117, 50%, 23%); — As HEX: color: #20581D; — As RGB: color: rgb(32, 88, 29); — Tailwind CSS: bg-[hsl(117,50%,23%)] — CSS variable: --color-primary: hsl(117, 50%, 23%);