HSL(131, 97%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(131,97%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(131, 97%, 24%) | color: hsl(131, 97%, 24%) | |
| HEX | #027918 | color: #027918 | |
| RGB | rgb(2, 121, 24) | color: rgb(2, 121, 24) | |
| CMYK | cmyk(98%, 0%, 80%, 53%) | — | |
| HSV | hsv(131, 98%, 47%) | — | |
| HWB | hwb(131 1% 53%) | color: hwb(131 1% 53%) | |
| OKLCH | oklch(0.5005 0.1605 144.18) | color: oklch(0.5005 0.1605 144.18) | |
| Lab | lab(43.88 -48.24 41.85) | color: lab(43.88 -48.24 41.85) | |
| LCH | lch(43.88 63.86 139.06) | color: lch(43.88 63.86 139.06) |
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)
#36372F — rgb(54, 55, 47)
Deuteranopia (Green-blind)
#2F2635 — rgb(47, 38, 53)
Tritanopia (Blue-blind)
#084246 — rgb(8, 66, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(131, 97%, 24%);
text
color: hsl(131, 97%, 24%);
border
border: 2px solid hsl(131, 97%, 24%);
gradient light
background: linear-gradient(to right, hsl(131, 97%, 44%), hsl(131, 97%, 24%));
gradient dark
background: linear-gradient(to right, hsl(131, 97%, 24%), hsl(131, 97%, 4%))
hex
background-color: #027918;
tailwind
bg-[hsl(131,97%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(131, 97%, 24%, 0.4);
css variable
--color-primary: hsl(131, 97%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(131, 97%, 24%)?
HEX: #027918 | RGB: rgb(2, 121, 24) | CMYK: 98%, 0%, 80%, 53% | HSV: 131°, 98%, 47%. Copy any format from the conversion table above.
What colors go well with #027918?
The complementary color is HSL(311, 97%, 24%). 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, 97%, 24%) in CSS?
As HSL: color: hsl(131, 97%, 24%); — As HEX: color: #027918; — As RGB: color: rgb(2, 121, 24); — Tailwind CSS: bg-[hsl(131,97%,24%)] — CSS variable: --color-primary: hsl(131, 97%, 24%);