HSL(117, 70%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,70%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 70%, 21%) | color: hsl(117, 70%, 21%) | |
| HEX | #145B10 | color: #145B10 | |
| RGB | rgb(20, 91, 16) | color: rgb(20, 91, 16) | |
| CMYK | cmyk(78%, 0%, 82%, 64%) | — | |
| HSV | hsv(117, 82%, 36%) | — | |
| HWB | hwb(117 6% 64%) | color: hwb(117 6% 64%) | |
| OKLCH | oklch(0.4128 0.1264 142.28) | color: oklch(0.4128 0.1264 142.28) | |
| Lab | lab(33.28 -36.74 34.47) | color: lab(33.28 -36.74 34.47) | |
| LCH | lch(33.28 50.38 136.83) | color: lch(33.28 50.38 136.83) |
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)
#333322 — rgb(51, 51, 34)
Deuteranopia (Green-blind)
#2F2927 — rgb(47, 41, 39)
Tritanopia (Blue-blind)
#183034 — rgb(24, 48, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 70%, 21%);
text
color: hsl(117, 70%, 21%);
border
border: 2px solid hsl(117, 70%, 21%);
gradient light
background: linear-gradient(to right, hsl(117, 70%, 41%), hsl(117, 70%, 21%));
gradient dark
background: linear-gradient(to right, hsl(117, 70%, 21%), hsl(117, 70%, 1%))
hex
background-color: #145B10;
tailwind
bg-[hsl(117,70%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 70%, 21%, 0.4);
css variable
--color-primary: hsl(117, 70%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 70%, 21%)?
HEX: #145B10 | RGB: rgb(20, 91, 16) | CMYK: 78%, 0%, 82%, 64% | HSV: 117°, 82%, 36%. Copy any format from the conversion table above.
What colors go well with #145B10?
The complementary color is HSL(297, 70%, 21%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(117, 70%, 21%) in CSS?
As HSL: color: hsl(117, 70%, 21%); — As HEX: color: #145B10; — As RGB: color: rgb(20, 91, 16); — Tailwind CSS: bg-[hsl(117,70%,21%)] — CSS variable: --color-primary: hsl(117, 70%, 21%);