HSL(76, 99%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(76,99%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(76, 99%, 21%) | color: hsl(76, 99%, 21%) | |
| HEX | #4E6B01 | color: #4E6B01 | |
| RGB | rgb(78, 107, 1) | color: rgb(78, 107, 1) | |
| CMYK | cmyk(27%, 0%, 99%, 58%) | — | |
| HSV | hsv(76, 99%, 42%) | — | |
| HWB | hwb(76 0% 58%) | color: hwb(76 0% 58%) | |
| OKLCH | oklch(0.4868 0.1235 126.02) | color: oklch(0.4868 0.1235 126.02) | |
| Lab | lab(41.43 -24.8 46.89) | color: lab(41.43 -24.8 46.89) | |
| LCH | lch(41.43 53.04 117.87) | color: lch(41.43 53.04 117.87) |
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)
#5B5B1B — rgb(91, 91, 27)
Deuteranopia (Green-blind)
#595721 — rgb(89, 87, 33)
Tritanopia (Blue-blind)
#4F2F33 — rgb(79, 47, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(76, 99%, 21%);
text
color: hsl(76, 99%, 21%);
border
border: 2px solid hsl(76, 99%, 21%);
gradient light
background: linear-gradient(to right, hsl(76, 99%, 41%), hsl(76, 99%, 21%));
gradient dark
background: linear-gradient(to right, hsl(76, 99%, 21%), hsl(76, 99%, 1%))
hex
background-color: #4E6B01;
tailwind
bg-[hsl(76,99%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(76, 99%, 21%, 0.4);
css variable
--color-primary: hsl(76, 99%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(76, 99%, 21%)?
HEX: #4E6B01 | RGB: rgb(78, 107, 1) | CMYK: 27%, 0%, 99%, 58% | HSV: 76°, 99%, 42%. Copy any format from the conversion table above.
What colors go well with #4E6B01?
The complementary color is HSL(256, 99%, 21%). For a triadic harmony, use hues 76°, 196°, and 316°. For analogous combinations, try hues 46° and 106°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(76, 99%, 21%) in CSS?
As HSL: color: hsl(76, 99%, 21%); — As HEX: color: #4E6B01; — As RGB: color: rgb(78, 107, 1); — Tailwind CSS: bg-[hsl(76,99%,21%)] — CSS variable: --color-primary: hsl(76, 99%, 21%);