HSL(71, 98%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(71,98%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(71, 98%, 21%) | color: hsl(71, 98%, 21%) | |
| HEX | #576A01 | color: #576A01 | |
| RGB | rgb(87, 106, 1) | color: rgb(87, 106, 1) | |
| CMYK | cmyk(18%, 0%, 99%, 58%) | — | |
| HSV | hsv(71, 99%, 42%) | — | |
| HWB | hwb(71 0% 58%) | color: hwb(71 0% 58%) | |
| OKLCH | oklch(0.491 0.1176 121.17) | color: oklch(0.491 0.1176 121.17) | |
| Lab | lab(41.75 -20.25 47.41) | color: lab(41.75 -20.25 47.41) | |
| LCH | lch(41.75 51.55 113.13) | color: lch(41.75 51.55 113.13) |
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)
#5F5F1A — rgb(95, 95, 26)
Deuteranopia (Green-blind)
#5E5D21 — rgb(94, 93, 33)
Tritanopia (Blue-blind)
#582E33 — rgb(88, 46, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(71, 98%, 21%);
text
color: hsl(71, 98%, 21%);
border
border: 2px solid hsl(71, 98%, 21%);
gradient light
background: linear-gradient(to right, hsl(71, 98%, 41%), hsl(71, 98%, 21%));
gradient dark
background: linear-gradient(to right, hsl(71, 98%, 21%), hsl(71, 98%, 1%))
hex
background-color: #576A01;
tailwind
bg-[hsl(71,98%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(71, 98%, 21%, 0.4);
css variable
--color-primary: hsl(71, 98%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(71, 98%, 21%)?
HEX: #576A01 | RGB: rgb(87, 106, 1) | CMYK: 18%, 0%, 99%, 58% | HSV: 71°, 99%, 42%. Copy any format from the conversion table above.
What colors go well with #576A01?
The complementary color is HSL(251, 98%, 21%). 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, 98%, 21%) in CSS?
As HSL: color: hsl(71, 98%, 21%); — As HEX: color: #576A01; — As RGB: color: rgb(87, 106, 1); — Tailwind CSS: bg-[hsl(71,98%,21%)] — CSS variable: --color-primary: hsl(71, 98%, 21%);