HSL(111, 42%, 16%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(111,42%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(111, 42%, 16%) | color: hsl(111, 42%, 16%) | |
| HEX | #1D3A18 | color: #1D3A18 | |
| RGB | rgb(29, 58, 24) | color: rgb(29, 58, 24) | |
| CMYK | cmyk(50%, 0%, 59%, 77%) | — | |
| HSV | hsv(111, 59%, 23%) | — | |
| HWB | hwb(111 9% 77%) | color: hwb(111 9% 77%) | |
| OKLCH | oklch(0.316 0.0673 140.79) | color: oklch(0.316 0.0673 140.79) | |
| Lab | lab(21.41 -19.07 17.68) | color: lab(21.41 -19.07 17.68) | |
| LCH | lch(21.41 26 137.17) | color: lch(21.41 26 137.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)
#2A2A20 — rgb(42, 42, 32)
Deuteranopia (Green-blind)
#282622 — rgb(40, 38, 34)
Tritanopia (Blue-blind)
#1E2728 — rgb(30, 39, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(111, 42%, 16%);
text
color: hsl(111, 42%, 16%);
border
border: 2px solid hsl(111, 42%, 16%);
gradient light
background: linear-gradient(to right, hsl(111, 42%, 36%), hsl(111, 42%, 16%));
gradient dark
background: linear-gradient(to right, hsl(111, 42%, 16%), hsl(111, 42%, 0%))
hex
background-color: #1D3A18;
tailwind
bg-[hsl(111,42%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(111, 42%, 16%, 0.4);
css variable
--color-primary: hsl(111, 42%, 16%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(111, 42%, 16%)?
HEX: #1D3A18 | RGB: rgb(29, 58, 24) | CMYK: 50%, 0%, 59%, 77% | HSV: 111°, 59%, 23%. Copy any format from the conversion table above.
What colors go well with #1D3A18?
The complementary color is HSL(291, 42%, 16%). For a triadic harmony, use hues 111°, 231°, and 351°. For analogous combinations, try hues 81° and 141°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(111, 42%, 16%) in CSS?
As HSL: color: hsl(111, 42%, 16%); — As HEX: color: #1D3A18; — As RGB: color: rgb(29, 58, 24); — Tailwind CSS: bg-[hsl(111,42%,16%)] — CSS variable: --color-primary: hsl(111, 42%, 16%);