HSL(112, 24%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,24%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 24%, 45%) | color: hsl(112, 24%, 45%) | |
| HEX | #5F8E57 | color: #5F8E57 | |
| RGB | rgb(95, 142, 87) | color: rgb(95, 142, 87) | |
| CMYK | cmyk(33%, 0%, 39%, 44%) | — | |
| HSV | hsv(111, 39%, 56%) | — | |
| HWB | hwb(111 34% 44%) | color: hwb(111 34% 44%) | |
| OKLCH | oklch(0.5984 0.0958 140.87) | color: oklch(0.5984 0.0958 140.87) | |
| Lab | lab(54.52 -27.24 24.37) | color: lab(54.52 -27.24 24.37) | |
| LCH | lch(54.52 36.55 138.18) | color: lch(54.52 36.55 138.18) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#737464 — rgb(115, 116, 100)
Deuteranopia (Green-blind)
#716D68 — rgb(113, 109, 104)
Tritanopia (Blue-blind)
#616F71 — rgb(97, 111, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 24%, 45%);
text
color: hsl(112, 24%, 45%);
border
border: 2px solid hsl(112, 24%, 45%);
gradient light
background: linear-gradient(to right, hsl(112, 24%, 65%), hsl(112, 24%, 45%));
gradient dark
background: linear-gradient(to right, hsl(112, 24%, 45%), hsl(112, 24%, 25%))
hex
background-color: #5F8E57;
tailwind
bg-[hsl(112,24%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 24%, 45%, 0.4);
css variable
--color-primary: hsl(112, 24%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 24%, 45%)?
HEX: #5F8E57 | RGB: rgb(95, 142, 87) | CMYK: 33%, 0%, 39%, 44% | HSV: 111°, 39%, 56%. Copy any format from the conversion table above.
What colors go well with #5F8E57?
The complementary color is HSL(292, 24%, 45%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 24%, 45%) in CSS?
As HSL: color: hsl(112, 24%, 45%); — As HEX: color: #5F8E57; — As RGB: color: rgb(95, 142, 87); — Tailwind CSS: bg-[hsl(112,24%,45%)] — CSS variable: --color-primary: hsl(112, 24%, 45%);