HSL(75, 100%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(75,100%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(75, 100%, 21%) | color: hsl(75, 100%, 21%) | |
| HEX | #506B00 | color: #506B00 | |
| RGB | rgb(80, 107, 0) | color: rgb(80, 107, 0) | |
| CMYK | cmyk(25%, 0%, 100%, 58%) | — | |
| HSV | hsv(75, 100%, 42%) | — | |
| HWB | hwb(75 0% 58%) | color: hwb(75 0% 58%) | |
| OKLCH | oklch(0.4882 0.1228 125.06) | color: oklch(0.4882 0.1228 125.06) | |
| Lab | lab(41.56 -23.95 47.31) | color: lab(41.56 -23.95 47.31) | |
| LCH | lch(41.56 53.03 116.85) | color: lch(41.56 53.03 116.85) |
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)
#5C5C1A — rgb(92, 92, 26)
Deuteranopia (Green-blind)
#5A5820 — rgb(90, 88, 32)
Tritanopia (Blue-blind)
#512E33 — rgb(81, 46, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(75, 100%, 21%);
text
color: hsl(75, 100%, 21%);
border
border: 2px solid hsl(75, 100%, 21%);
gradient light
background: linear-gradient(to right, hsl(75, 100%, 41%), hsl(75, 100%, 21%));
gradient dark
background: linear-gradient(to right, hsl(75, 100%, 21%), hsl(75, 100%, 1%))
hex
background-color: #506B00;
tailwind
bg-[hsl(75,100%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(75, 100%, 21%, 0.4);
css variable
--color-primary: hsl(75, 100%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(75, 100%, 21%)?
HEX: #506B00 | RGB: rgb(80, 107, 0) | CMYK: 25%, 0%, 100%, 58% | HSV: 75°, 100%, 42%. Copy any format from the conversion table above.
What colors go well with #506B00?
The complementary color is HSL(255, 100%, 21%). For a triadic harmony, use hues 75°, 195°, and 315°. For analogous combinations, try hues 45° and 105°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(75, 100%, 21%) in CSS?
As HSL: color: hsl(75, 100%, 21%); — As HEX: color: #506B00; — As RGB: color: rgb(80, 107, 0); — Tailwind CSS: bg-[hsl(75,100%,21%)] — CSS variable: --color-primary: hsl(75, 100%, 21%);