HSL(111, 45%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(111,45%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(111, 45%, 23%) | color: hsl(111, 45%, 23%) | |
| HEX | #285520 | color: #285520 | |
| RGB | rgb(40, 85, 32) | color: rgb(40, 85, 32) | |
| CMYK | cmyk(53%, 0%, 62%, 67%) | — | |
| HSV | hsv(111, 62%, 33%) | — | |
| HWB | hwb(111 13% 67%) | color: hwb(111 13% 67%) | |
| OKLCH | oklch(0.404 0.0963 140.73) | color: oklch(0.404 0.0963 140.73) | |
| Lab | lab(31.93 -27.26 25.81) | color: lab(31.93 -27.26 25.81) | |
| LCH | lch(31.93 37.54 136.57) | color: lch(31.93 37.54 136.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)
#3B3C2D — rgb(59, 60, 45)
Deuteranopia (Green-blind)
#393630 — rgb(57, 54, 48)
Tritanopia (Blue-blind)
#2A3739 — rgb(42, 55, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(111, 45%, 23%);
text
color: hsl(111, 45%, 23%);
border
border: 2px solid hsl(111, 45%, 23%);
gradient light
background: linear-gradient(to right, hsl(111, 45%, 43%), hsl(111, 45%, 23%));
gradient dark
background: linear-gradient(to right, hsl(111, 45%, 23%), hsl(111, 45%, 3%))
hex
background-color: #285520;
tailwind
bg-[hsl(111,45%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(111, 45%, 23%, 0.4);
css variable
--color-primary: hsl(111, 45%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(111, 45%, 23%)?
HEX: #285520 | RGB: rgb(40, 85, 32) | CMYK: 53%, 0%, 62%, 67% | HSV: 111°, 62%, 33%. Copy any format from the conversion table above.
What colors go well with #285520?
The complementary color is HSL(291, 45%, 23%). 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, 45%, 23%) in CSS?
As HSL: color: hsl(111, 45%, 23%); — As HEX: color: #285520; — As RGB: color: rgb(40, 85, 32); — Tailwind CSS: bg-[hsl(111,45%,23%)] — CSS variable: --color-primary: hsl(111, 45%, 23%);