HSL(71, 79%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(71,79%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(71, 79%, 21%) | color: hsl(71, 79%, 21%) | |
| HEX | #50600B | color: #50600B | |
| RGB | rgb(80, 96, 11) | color: rgb(80, 96, 11) | |
| CMYK | cmyk(17%, 0%, 89%, 62%) | — | |
| HSV | hsv(71, 89%, 38%) | — | |
| HWB | hwb(71 4% 62%) | color: hwb(71 4% 62%) | |
| OKLCH | oklch(0.4596 0.1047 120.64) | color: oklch(0.4596 0.1047 120.64) | |
| Lab | lab(38.01 -17.86 41.55) | color: lab(38.01 -17.86 41.55) | |
| LCH | lch(38.01 45.23 113.26) | color: lch(38.01 45.23 113.26) |
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)
#575720 — rgb(87, 87, 32)
Deuteranopia (Green-blind)
#565525 — rgb(86, 85, 37)
Tritanopia (Blue-blind)
#513033 — rgb(81, 48, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(71, 79%, 21%);
text
color: hsl(71, 79%, 21%);
border
border: 2px solid hsl(71, 79%, 21%);
gradient light
background: linear-gradient(to right, hsl(71, 79%, 41%), hsl(71, 79%, 21%));
gradient dark
background: linear-gradient(to right, hsl(71, 79%, 21%), hsl(71, 79%, 1%))
hex
background-color: #50600B;
tailwind
bg-[hsl(71,79%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(71, 79%, 21%, 0.4);
css variable
--color-primary: hsl(71, 79%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(71, 79%, 21%)?
HEX: #50600B | RGB: rgb(80, 96, 11) | CMYK: 17%, 0%, 89%, 62% | HSV: 71°, 89%, 38%. Copy any format from the conversion table above.
What colors go well with #50600B?
The complementary color is HSL(251, 79%, 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, 79%, 21%) in CSS?
As HSL: color: hsl(71, 79%, 21%); — As HEX: color: #50600B; — As RGB: color: rgb(80, 96, 11); — Tailwind CSS: bg-[hsl(71,79%,21%)] — CSS variable: --color-primary: hsl(71, 79%, 21%);