HSL(131, 91%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(131,91%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(131, 91%, 17%) | color: hsl(131, 91%, 17%) | |
| HEX | #045312 | color: #045312 | |
| RGB | rgb(4, 83, 18) | color: rgb(4, 83, 18) | |
| CMYK | cmyk(95%, 0%, 78%, 67%) | — | |
| HSV | hsv(131, 95%, 33%) | — | |
| HWB | hwb(131 2% 67%) | color: hwb(131 2% 67%) | |
| OKLCH | oklch(0.3851 0.1195 144.69) | color: oklch(0.3851 0.1195 144.69) | |
| Lab | lab(30.05 -36.16 30.32) | color: lab(30.05 -36.16 30.32) | |
| LCH | lch(30.05 47.19 140.02) | color: lch(30.05 47.19 140.02) |
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)
#262722 — rgb(38, 39, 34)
Deuteranopia (Green-blind)
#221C26 — rgb(34, 28, 38)
Tritanopia (Blue-blind)
#082E31 — rgb(8, 46, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(131, 91%, 17%);
text
color: hsl(131, 91%, 17%);
border
border: 2px solid hsl(131, 91%, 17%);
gradient light
background: linear-gradient(to right, hsl(131, 91%, 37%), hsl(131, 91%, 17%));
gradient dark
background: linear-gradient(to right, hsl(131, 91%, 17%), hsl(131, 91%, 0%))
hex
background-color: #045312;
tailwind
bg-[hsl(131,91%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(131, 91%, 17%, 0.4);
css variable
--color-primary: hsl(131, 91%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(131, 91%, 17%)?
HEX: #045312 | RGB: rgb(4, 83, 18) | CMYK: 95%, 0%, 78%, 67% | HSV: 131°, 95%, 33%. Copy any format from the conversion table above.
What colors go well with #045312?
The complementary color is HSL(311, 91%, 17%). For a triadic harmony, use hues 131°, 251°, and 11°. For analogous combinations, try hues 101° and 161°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(131, 91%, 17%) in CSS?
As HSL: color: hsl(131, 91%, 17%); — As HEX: color: #045312; — As RGB: color: rgb(4, 83, 18); — Tailwind CSS: bg-[hsl(131,91%,17%)] — CSS variable: --color-primary: hsl(131, 91%, 17%);