HSL(106, 60%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(106,60%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(106, 60%, 23%) | color: hsl(106, 60%, 23%) | |
| HEX | #285E17 | color: #285E17 | |
| RGB | rgb(40, 94, 23) | color: rgb(40, 94, 23) | |
| CMYK | cmyk(57%, 0%, 76%, 63%) | — | |
| HSV | hsv(106, 76%, 37%) | — | |
| HWB | hwb(106 9% 63%) | color: hwb(106 9% 63%) | |
| OKLCH | oklch(0.4293 0.1171 139.27) | color: oklch(0.4293 0.1171 139.27) | |
| Lab | lab(35.04 -32.25 33.61) | color: lab(35.04 -32.25 33.61) | |
| LCH | lch(35.04 46.58 133.82) | color: lch(35.04 46.58 133.82) |
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)
#3F4028 — rgb(63, 64, 40)
Deuteranopia (Green-blind)
#3C382C — rgb(60, 56, 44)
Tritanopia (Blue-blind)
#2B3639 — rgb(43, 54, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(106, 60%, 23%);
text
color: hsl(106, 60%, 23%);
border
border: 2px solid hsl(106, 60%, 23%);
gradient light
background: linear-gradient(to right, hsl(106, 60%, 43%), hsl(106, 60%, 23%));
gradient dark
background: linear-gradient(to right, hsl(106, 60%, 23%), hsl(106, 60%, 3%))
hex
background-color: #285E17;
tailwind
bg-[hsl(106,60%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(106, 60%, 23%, 0.4);
css variable
--color-primary: hsl(106, 60%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(106, 60%, 23%)?
HEX: #285E17 | RGB: rgb(40, 94, 23) | CMYK: 57%, 0%, 76%, 63% | HSV: 106°, 76%, 37%. Copy any format from the conversion table above.
What colors go well with #285E17?
The complementary color is HSL(286, 60%, 23%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(106, 60%, 23%) in CSS?
As HSL: color: hsl(106, 60%, 23%); — As HEX: color: #285E17; — As RGB: color: rgb(40, 94, 23); — Tailwind CSS: bg-[hsl(106,60%,23%)] — CSS variable: --color-primary: hsl(106, 60%, 23%);