HSL(71, 31%, 52%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(71,31%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(71, 31%, 52%) | color: hsl(71, 31%, 52%) | |
| HEX | #9DAB5F | color: #9DAB5F | |
| RGB | rgb(157, 171, 95) | color: rgb(157, 171, 95) | |
| CMYK | cmyk(8%, 0%, 44%, 33%) | — | |
| HSV | hsv(71, 44%, 67%) | — | |
| HWB | hwb(71 38% 33%) | color: hwb(71 38% 33%) | |
| OKLCH | oklch(0.7128 0.1018 117.62) | color: oklch(0.7128 0.1018 117.62) | |
| Lab | lab(67.37 -16.9 37.37) | color: lab(67.37 -16.9 37.37) | |
| LCH | lch(67.37 41.01 114.33) | color: lch(67.37 41.01 114.33) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#A3A371 — rgb(163, 163, 113)
Deuteranopia (Green-blind)
#A2A176 — rgb(162, 161, 118)
Tritanopia (Blue-blind)
#9E8083 — rgb(158, 128, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(71, 31%, 52%);
text
color: hsl(71, 31%, 52%);
border
border: 2px solid hsl(71, 31%, 52%);
gradient light
background: linear-gradient(to right, hsl(71, 31%, 72%), hsl(71, 31%, 52%));
gradient dark
background: linear-gradient(to right, hsl(71, 31%, 52%), hsl(71, 31%, 32%))
hex
background-color: #9DAB5F;
tailwind
bg-[hsl(71,31%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(71, 31%, 52%, 0.4);
css variable
--color-primary: hsl(71, 31%, 52%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(71, 31%, 52%)?
HEX: #9DAB5F | RGB: rgb(157, 171, 95) | CMYK: 8%, 0%, 44%, 33% | HSV: 71°, 44%, 67%. Copy any format from the conversion table above.
What colors go well with #9DAB5F?
The complementary color is HSL(251, 31%, 52%). For a triadic harmony, use hues 71°, 191°, and 311°. For analogous combinations, try hues 41° and 101°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(71, 31%, 52%) in CSS?
As HSL: color: hsl(71, 31%, 52%); — As HEX: color: #9DAB5F; — As RGB: color: rgb(157, 171, 95); — Tailwind CSS: bg-[hsl(71,31%,52%)] — CSS variable: --color-primary: hsl(71, 31%, 52%);