HSL(105, 60%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(105,60%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(105, 60%, 18%) | color: hsl(105, 60%, 18%) | |
| HEX | #204912 | color: #204912 | |
| RGB | rgb(32, 73, 18) | color: rgb(32, 73, 18) | |
| CMYK | cmyk(56%, 0%, 75%, 71%) | — | |
| HSV | hsv(105, 75%, 29%) | — | |
| HWB | hwb(105 7% 71%) | color: hwb(105 7% 71%) | |
| OKLCH | oklch(0.3625 0.0954 138.84) | color: oklch(0.3625 0.0954 138.84) | |
| Lab | lab(27.06 -26.08 27.42) | color: lab(27.06 -26.08 27.42) | |
| LCH | lch(27.06 37.84 133.57) | color: lch(27.06 37.84 133.57) |
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)
#32321F — rgb(50, 50, 31)
Deuteranopia (Green-blind)
#2F2C23 — rgb(47, 44, 35)
Tritanopia (Blue-blind)
#222A2C — rgb(34, 42, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(105, 60%, 18%);
text
color: hsl(105, 60%, 18%);
border
border: 2px solid hsl(105, 60%, 18%);
gradient light
background: linear-gradient(to right, hsl(105, 60%, 38%), hsl(105, 60%, 18%));
gradient dark
background: linear-gradient(to right, hsl(105, 60%, 18%), hsl(105, 60%, 0%))
hex
background-color: #204912;
tailwind
bg-[hsl(105,60%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(105, 60%, 18%, 0.4);
css variable
--color-primary: hsl(105, 60%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(105, 60%, 18%)?
HEX: #204912 | RGB: rgb(32, 73, 18) | CMYK: 56%, 0%, 75%, 71% | HSV: 105°, 75%, 29%. Copy any format from the conversion table above.
What colors go well with #204912?
The complementary color is HSL(285, 60%, 18%). 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, 60%, 18%) in CSS?
As HSL: color: hsl(105, 60%, 18%); — As HEX: color: #204912; — As RGB: color: rgb(32, 73, 18); — Tailwind CSS: bg-[hsl(105,60%,18%)] — CSS variable: --color-primary: hsl(105, 60%, 18%);