HSL(80, 80%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(80,80%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(80, 80%, 28%) | color: hsl(80, 80%, 28%) | |
| HEX | #5A810E | color: #5A810E | |
| RGB | rgb(90, 129, 14) | color: rgb(90, 129, 14) | |
| CMYK | cmyk(30%, 0%, 89%, 49%) | — | |
| HSV | hsv(80, 89%, 51%) | — | |
| HWB | hwb(80 6% 49%) | color: hwb(80 6% 49%) | |
| OKLCH | oklch(0.5536 0.14 128.18) | color: oklch(0.5536 0.14 128.18) | |
| Lab | lab(49.38 -29.97 50.8) | color: lab(49.38 -29.97 50.8) | |
| LCH | lch(49.38 58.98 120.54) | color: lch(49.38 58.98 120.54) |
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)
#6B6B2A — rgb(107, 107, 42)
Deuteranopia (Green-blind)
#696631 — rgb(105, 102, 49)
Tritanopia (Blue-blind)
#5C4045 — rgb(92, 64, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(80, 80%, 28%);
text
color: hsl(80, 80%, 28%);
border
border: 2px solid hsl(80, 80%, 28%);
gradient light
background: linear-gradient(to right, hsl(80, 80%, 48%), hsl(80, 80%, 28%));
gradient dark
background: linear-gradient(to right, hsl(80, 80%, 28%), hsl(80, 80%, 8%))
hex
background-color: #5A810E;
tailwind
bg-[hsl(80,80%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(80, 80%, 28%, 0.4);
css variable
--color-primary: hsl(80, 80%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(80, 80%, 28%)?
HEX: #5A810E | RGB: rgb(90, 129, 14) | CMYK: 30%, 0%, 89%, 49% | HSV: 80°, 89%, 51%. Copy any format from the conversion table above.
What colors go well with #5A810E?
The complementary color is HSL(260, 80%, 28%). For a triadic harmony, use hues 80°, 200°, and 320°. For analogous combinations, try hues 50° and 110°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(80, 80%, 28%) in CSS?
As HSL: color: hsl(80, 80%, 28%); — As HEX: color: #5A810E; — As RGB: color: rgb(90, 129, 14); — Tailwind CSS: bg-[hsl(80,80%,28%)] — CSS variable: --color-primary: hsl(80, 80%, 28%);