HSL(117, 100%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,100%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 100%, 17%) | color: hsl(117, 100%, 17%) | |
| HEX | #045700 | color: #045700 | |
| RGB | rgb(4, 87, 0) | color: rgb(4, 87, 0) | |
| CMYK | cmyk(95%, 0%, 100%, 66%) | — | |
| HSV | hsv(117, 100%, 34%) | — | |
| HWB | hwb(117 0% 66%) | color: hwb(117 0% 66%) | |
| OKLCH | oklch(0.3964 0.1337 142.12) | color: oklch(0.3964 0.1337 142.12) | |
| Lab | lab(31.44 -38.82 38.07) | color: lab(31.44 -38.82 38.07) | |
| LCH | lch(31.44 54.37 135.56) | color: lch(31.44 54.37 135.56) |
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)
#282915 — rgb(40, 41, 21)
Deuteranopia (Green-blind)
#231D1A — rgb(35, 29, 26)
Tritanopia (Blue-blind)
#082629 — rgb(8, 38, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 100%, 17%);
text
color: hsl(117, 100%, 17%);
border
border: 2px solid hsl(117, 100%, 17%);
gradient light
background: linear-gradient(to right, hsl(117, 100%, 37%), hsl(117, 100%, 17%));
gradient dark
background: linear-gradient(to right, hsl(117, 100%, 17%), hsl(117, 100%, 0%))
hex
background-color: #045700;
tailwind
bg-[hsl(117,100%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 100%, 17%, 0.4);
css variable
--color-primary: hsl(117, 100%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 100%, 17%)?
HEX: #045700 | RGB: rgb(4, 87, 0) | CMYK: 95%, 0%, 100%, 66% | HSV: 117°, 100%, 34%. Copy any format from the conversion table above.
What colors go well with #045700?
The complementary color is HSL(297, 100%, 17%). 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, 100%, 17%) in CSS?
As HSL: color: hsl(117, 100%, 17%); — As HEX: color: #045700; — As RGB: color: rgb(4, 87, 0); — Tailwind CSS: bg-[hsl(117,100%,17%)] — CSS variable: --color-primary: hsl(117, 100%, 17%);