HSL(117, 56%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,56%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 56%, 20%) | color: hsl(117, 56%, 20%) | |
| HEX | #195016 | color: #195016 | |
| RGB | rgb(25, 80, 22) | color: rgb(25, 80, 22) | |
| CMYK | cmyk(69%, 0%, 73%, 69%) | — | |
| HSV | hsv(117, 73%, 31%) | — | |
| HWB | hwb(117 8% 69%) | color: hwb(117 8% 69%) | |
| OKLCH | oklch(0.3813 0.1057 142.41) | color: oklch(0.3813 0.1057 142.41) | |
| Lab | lab(29.42 -30.78 27.95) | color: lab(29.42 -30.78 27.95) | |
| LCH | lch(29.42 41.58 137.76) | color: lch(29.42 41.58 137.76) |
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)
#313124 — rgb(49, 49, 36)
Deuteranopia (Green-blind)
#2E2A27 — rgb(46, 42, 39)
Tritanopia (Blue-blind)
#1C2F32 — rgb(28, 47, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 56%, 20%);
text
color: hsl(117, 56%, 20%);
border
border: 2px solid hsl(117, 56%, 20%);
gradient light
background: linear-gradient(to right, hsl(117, 56%, 40%), hsl(117, 56%, 20%));
gradient dark
background: linear-gradient(to right, hsl(117, 56%, 20%), hsl(117, 56%, 0%))
hex
background-color: #195016;
tailwind
bg-[hsl(117,56%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 56%, 20%, 0.4);
css variable
--color-primary: hsl(117, 56%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 56%, 20%)?
HEX: #195016 | RGB: rgb(25, 80, 22) | CMYK: 69%, 0%, 73%, 69% | HSV: 117°, 73%, 31%. Copy any format from the conversion table above.
What colors go well with #195016?
The complementary color is HSL(297, 56%, 20%). 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, 56%, 20%) in CSS?
As HSL: color: hsl(117, 56%, 20%); — As HEX: color: #195016; — As RGB: color: rgb(25, 80, 22); — Tailwind CSS: bg-[hsl(117,56%,20%)] — CSS variable: --color-primary: hsl(117, 56%, 20%);