HSL(112, 32%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,32%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 32%, 25%) | color: hsl(112, 32%, 25%) | |
| HEX | #31542B | color: #31542B | |
| RGB | rgb(49, 84, 43) | color: rgb(49, 84, 43) | |
| CMYK | cmyk(42%, 0%, 49%, 67%) | — | |
| HSV | hsv(111, 49%, 33%) | — | |
| HWB | hwb(111 17% 67%) | color: hwb(111 17% 67%) | |
| OKLCH | oklch(0.4078 0.0774 140.82) | color: oklch(0.4078 0.0774 140.82) | |
| Lab | lab(32.19 -21.95 20.03) | color: lab(32.19 -21.95 20.03) | |
| LCH | lch(32.19 29.72 137.62) | color: lch(32.19 29.72 137.62) |
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)
#404035 — rgb(64, 64, 53)
Deuteranopia (Green-blind)
#3E3C37 — rgb(62, 60, 55)
Tritanopia (Blue-blind)
#333D3E — rgb(51, 61, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 32%, 25%);
text
color: hsl(112, 32%, 25%);
border
border: 2px solid hsl(112, 32%, 25%);
gradient light
background: linear-gradient(to right, hsl(112, 32%, 45%), hsl(112, 32%, 25%));
gradient dark
background: linear-gradient(to right, hsl(112, 32%, 25%), hsl(112, 32%, 5%))
hex
background-color: #31542B;
tailwind
bg-[hsl(112,32%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 32%, 25%, 0.4);
css variable
--color-primary: hsl(112, 32%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 32%, 25%)?
HEX: #31542B | RGB: rgb(49, 84, 43) | CMYK: 42%, 0%, 49%, 67% | HSV: 111°, 49%, 33%. Copy any format from the conversion table above.
What colors go well with #31542B?
The complementary color is HSL(292, 32%, 25%). 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, 32%, 25%) in CSS?
As HSL: color: hsl(112, 32%, 25%); — As HEX: color: #31542B; — As RGB: color: rgb(49, 84, 43); — Tailwind CSS: bg-[hsl(112,32%,25%)] — CSS variable: --color-primary: hsl(112, 32%, 25%);