HSL(112, 28%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,28%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 28%, 42%) | color: hsl(112, 28%, 42%) | |
| HEX | #55894D | color: #55894D | |
| RGB | rgb(85, 137, 77) | color: rgb(85, 137, 77) | |
| CMYK | cmyk(38%, 0%, 44%, 46%) | — | |
| HSV | hsv(112, 44%, 54%) | — | |
| HWB | hwb(112 30% 46%) | color: hwb(112 30% 46%) | |
| OKLCH | oklch(0.5779 0.1048 141.13) | color: oklch(0.5779 0.1048 141.13) | |
| Lab | lab(52.24 -29.88 26.79) | color: lab(52.24 -29.88 26.79) | |
| LCH | lch(52.24 40.13 138.12) | color: lch(52.24 40.13 138.12) |
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)
#6C6C5C — rgb(108, 108, 92)
Deuteranopia (Green-blind)
#69655F — rgb(105, 101, 95)
Tritanopia (Blue-blind)
#58676A — rgb(88, 103, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 28%, 42%);
text
color: hsl(112, 28%, 42%);
border
border: 2px solid hsl(112, 28%, 42%);
gradient light
background: linear-gradient(to right, hsl(112, 28%, 62%), hsl(112, 28%, 42%));
gradient dark
background: linear-gradient(to right, hsl(112, 28%, 42%), hsl(112, 28%, 22%))
hex
background-color: #55894D;
tailwind
bg-[hsl(112,28%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 28%, 42%, 0.4);
css variable
--color-primary: hsl(112, 28%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 28%, 42%)?
HEX: #55894D | RGB: rgb(85, 137, 77) | CMYK: 38%, 0%, 44%, 46% | HSV: 112°, 44%, 54%. Copy any format from the conversion table above.
What colors go well with #55894D?
The complementary color is HSL(292, 28%, 42%). 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, 28%, 42%) in CSS?
As HSL: color: hsl(112, 28%, 42%); — As HEX: color: #55894D; — As RGB: color: rgb(85, 137, 77); — Tailwind CSS: bg-[hsl(112,28%,42%)] — CSS variable: --color-primary: hsl(112, 28%, 42%);