HSL(112, 57%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,57%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 57%, 20%) | color: hsl(112, 57%, 20%) | |
| HEX | #1E5016 | color: #1E5016 | |
| RGB | rgb(30, 80, 22) | color: rgb(30, 80, 22) | |
| CMYK | cmyk(63%, 0%, 73%, 69%) | — | |
| HSV | hsv(112, 73%, 31%) | — | |
| HWB | hwb(112 8% 69%) | color: hwb(112 8% 69%) | |
| OKLCH | oklch(0.3832 0.1033 141.05) | color: oklch(0.3832 0.1033 141.05) | |
| Lab | lab(29.59 -29.4 28.19) | color: lab(29.59 -29.4 28.19) | |
| LCH | lch(29.59 40.73 136.2) | color: lch(29.59 40.73 136.2) |
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)
#343424 — rgb(52, 52, 36)
Deuteranopia (Green-blind)
#312D27 — rgb(49, 45, 39)
Tritanopia (Blue-blind)
#212F32 — rgb(33, 47, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 57%, 20%);
text
color: hsl(112, 57%, 20%);
border
border: 2px solid hsl(112, 57%, 20%);
gradient light
background: linear-gradient(to right, hsl(112, 57%, 40%), hsl(112, 57%, 20%));
gradient dark
background: linear-gradient(to right, hsl(112, 57%, 20%), hsl(112, 57%, 0%))
hex
background-color: #1E5016;
tailwind
bg-[hsl(112,57%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 57%, 20%, 0.4);
css variable
--color-primary: hsl(112, 57%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 57%, 20%)?
HEX: #1E5016 | RGB: rgb(30, 80, 22) | CMYK: 63%, 0%, 73%, 69% | HSV: 112°, 73%, 31%. Copy any format from the conversion table above.
What colors go well with #1E5016?
The complementary color is HSL(292, 57%, 20%). 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, 57%, 20%) in CSS?
As HSL: color: hsl(112, 57%, 20%); — As HEX: color: #1E5016; — As RGB: color: rgb(30, 80, 22); — Tailwind CSS: bg-[hsl(112,57%,20%)] — CSS variable: --color-primary: hsl(112, 57%, 20%);