HSL(139, 50%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(139,50%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(139, 50%, 17%) | color: hsl(139, 50%, 17%) | |
| HEX | #164123 | color: #164123 | |
| RGB | rgb(22, 65, 35) | color: rgb(22, 65, 35) | |
| CMYK | cmyk(66%, 0%, 46%, 75%) | — | |
| HSV | hsv(138, 66%, 25%) | — | |
| HWB | hwb(138 9% 75%) | color: hwb(138 9% 75%) | |
| OKLCH | oklch(0.3362 0.0709 150.71) | color: oklch(0.3362 0.0709 150.71) | |
| Lab | lab(23.91 -22.84 13.98) | color: lab(23.91 -22.84 13.98) | |
| LCH | lch(23.91 26.78 148.53) | color: lch(23.91 26.78 148.53) |
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)
#29292A — rgb(41, 41, 42)
Deuteranopia (Green-blind)
#26232C — rgb(38, 35, 44)
Tritanopia (Blue-blind)
#183031 — rgb(24, 48, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(139, 50%, 17%);
text
color: hsl(139, 50%, 17%);
border
border: 2px solid hsl(139, 50%, 17%);
gradient light
background: linear-gradient(to right, hsl(139, 50%, 37%), hsl(139, 50%, 17%));
gradient dark
background: linear-gradient(to right, hsl(139, 50%, 17%), hsl(139, 50%, 0%))
hex
background-color: #164123;
tailwind
bg-[hsl(139,50%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(139, 50%, 17%, 0.4);
css variable
--color-primary: hsl(139, 50%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(139, 50%, 17%)?
HEX: #164123 | RGB: rgb(22, 65, 35) | CMYK: 66%, 0%, 46%, 75% | HSV: 138°, 66%, 25%. Copy any format from the conversion table above.
What colors go well with #164123?
The complementary color is HSL(319, 50%, 17%). For a triadic harmony, use hues 139°, 259°, and 19°. For analogous combinations, try hues 109° and 169°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(139, 50%, 17%) in CSS?
As HSL: color: hsl(139, 50%, 17%); — As HEX: color: #164123; — As RGB: color: rgb(22, 65, 35); — Tailwind CSS: bg-[hsl(139,50%,17%)] — CSS variable: --color-primary: hsl(139, 50%, 17%);