HSL(105, 85%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(105,85%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(105, 85%, 20%) | color: hsl(105, 85%, 20%) | |
| HEX | #1D5E08 | color: #1D5E08 | |
| RGB | rgb(29, 94, 8) | color: rgb(29, 94, 8) | |
| CMYK | cmyk(69%, 0%, 91%, 63%) | — | |
| HSV | hsv(105, 91%, 37%) | — | |
| HWB | hwb(105 3% 63%) | color: hwb(105 3% 63%) | |
| OKLCH | oklch(0.424 0.1306 139.94) | color: oklch(0.424 0.1306 139.94) | |
| Lab | lab(34.57 -36.37 38.31) | color: lab(34.57 -36.37 38.31) | |
| LCH | lch(34.57 52.82 133.51) | color: lch(34.57 52.82 133.51) |
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)
#393A1D — rgb(57, 58, 29)
Deuteranopia (Green-blind)
#353122 — rgb(53, 49, 34)
Tritanopia (Blue-blind)
#202D31 — rgb(32, 45, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(105, 85%, 20%);
text
color: hsl(105, 85%, 20%);
border
border: 2px solid hsl(105, 85%, 20%);
gradient light
background: linear-gradient(to right, hsl(105, 85%, 40%), hsl(105, 85%, 20%));
gradient dark
background: linear-gradient(to right, hsl(105, 85%, 20%), hsl(105, 85%, 0%))
hex
background-color: #1D5E08;
tailwind
bg-[hsl(105,85%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(105, 85%, 20%, 0.4);
css variable
--color-primary: hsl(105, 85%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(105, 85%, 20%)?
HEX: #1D5E08 | RGB: rgb(29, 94, 8) | CMYK: 69%, 0%, 91%, 63% | HSV: 105°, 91%, 37%. Copy any format from the conversion table above.
What colors go well with #1D5E08?
The complementary color is HSL(285, 85%, 20%). For a triadic harmony, use hues 105°, 225°, and 345°. For analogous combinations, try hues 75° and 135°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(105, 85%, 20%) in CSS?
As HSL: color: hsl(105, 85%, 20%); — As HEX: color: #1D5E08; — As RGB: color: rgb(29, 94, 8); — Tailwind CSS: bg-[hsl(105,85%,20%)] — CSS variable: --color-primary: hsl(105, 85%, 20%);