HSL(143, 59%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(143,59%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(143, 59%, 17%) | color: hsl(143, 59%, 17%) | |
| HEX | #124525 | color: #124525 | |
| RGB | rgb(18, 69, 37) | color: rgb(18, 69, 37) | |
| CMYK | cmyk(74%, 0%, 46%, 73%) | — | |
| HSV | hsv(142, 74%, 27%) | — | |
| HWB | hwb(142 7% 73%) | color: hwb(142 7% 73%) | |
| OKLCH | oklch(0.3475 0.0773 152.17) | color: oklch(0.3475 0.0773 152.17) | |
| Lab | lab(25.32 -25.31 14.55) | color: lab(25.32 -25.31 14.55) | |
| LCH | lch(25.32 29.19 150.11) | color: lch(25.32 29.19 150.11) |
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)
#28292D — rgb(40, 41, 45)
Deuteranopia (Green-blind)
#25212F — rgb(37, 33, 47)
Tritanopia (Blue-blind)
#153334 — rgb(21, 51, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(143, 59%, 17%);
text
color: hsl(143, 59%, 17%);
border
border: 2px solid hsl(143, 59%, 17%);
gradient light
background: linear-gradient(to right, hsl(143, 59%, 37%), hsl(143, 59%, 17%));
gradient dark
background: linear-gradient(to right, hsl(143, 59%, 17%), hsl(143, 59%, 0%))
hex
background-color: #124525;
tailwind
bg-[hsl(143,59%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(143, 59%, 17%, 0.4);
css variable
--color-primary: hsl(143, 59%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(143, 59%, 17%)?
HEX: #124525 | RGB: rgb(18, 69, 37) | CMYK: 74%, 0%, 46%, 73% | HSV: 142°, 74%, 27%. Copy any format from the conversion table above.
What colors go well with #124525?
The complementary color is HSL(323, 59%, 17%). For a triadic harmony, use hues 143°, 263°, and 23°. For analogous combinations, try hues 113° and 173°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(143, 59%, 17%) in CSS?
As HSL: color: hsl(143, 59%, 17%); — As HEX: color: #124525; — As RGB: color: rgb(18, 69, 37); — Tailwind CSS: bg-[hsl(143,59%,17%)] — CSS variable: --color-primary: hsl(143, 59%, 17%);