HSL(119, 75%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(119,75%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(119, 75%, 31%) | color: hsl(119, 75%, 31%) | |
| HEX | #168A14 | color: #168A14 | |
| RGB | rgb(22, 138, 20) | color: rgb(22, 138, 20) | |
| CMYK | cmyk(84%, 0%, 86%, 46%) | — | |
| HSV | hsv(119, 86%, 54%) | — | |
| HWB | hwb(119 8% 46%) | color: hwb(119 8% 46%) | |
| OKLCH | oklch(0.5518 0.1777 142.56) | color: oklch(0.5518 0.1777 142.56) | |
| Lab | lab(49.97 -51.96 48.91) | color: lab(49.97 -51.96 48.91) | |
| LCH | lch(49.97 71.36 136.73) | color: lch(49.97 71.36 136.73) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#484931 — rgb(72, 73, 49)
Deuteranopia (Green-blind)
#423937 — rgb(66, 57, 55)
Tritanopia (Blue-blind)
#1C474C — rgb(28, 71, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(119, 75%, 31%);
text
color: hsl(119, 75%, 31%);
border
border: 2px solid hsl(119, 75%, 31%);
gradient light
background: linear-gradient(to right, hsl(119, 75%, 51%), hsl(119, 75%, 31%));
gradient dark
background: linear-gradient(to right, hsl(119, 75%, 31%), hsl(119, 75%, 11%))
hex
background-color: #168A14;
tailwind
bg-[hsl(119,75%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(119, 75%, 31%, 0.4);
css variable
--color-primary: hsl(119, 75%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(119, 75%, 31%)?
HEX: #168A14 | RGB: rgb(22, 138, 20) | CMYK: 84%, 0%, 86%, 46% | HSV: 119°, 86%, 54%. Copy any format from the conversion table above.
What colors go well with #168A14?
The complementary color is HSL(299, 75%, 31%). For a triadic harmony, use hues 119°, 239°, and 359°. For analogous combinations, try hues 89° and 149°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(119, 75%, 31%) in CSS?
As HSL: color: hsl(119, 75%, 31%); — As HEX: color: #168A14; — As RGB: color: rgb(22, 138, 20); — Tailwind CSS: bg-[hsl(119,75%,31%)] — CSS variable: --color-primary: hsl(119, 75%, 31%);