HSL(70, 80%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(70,80%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(70, 80%, 23%) | color: hsl(70, 80%, 23%) | |
| HEX | #5A6A0C | color: #5A6A0C | |
| RGB | rgb(90, 106, 12) | color: rgb(90, 106, 12) | |
| CMYK | cmyk(15%, 0%, 89%, 58%) | — | |
| HSV | hsv(70, 89%, 42%) | — | |
| HWB | hwb(70 5% 58%) | color: hwb(70 5% 58%) | |
| OKLCH | oklch(0.4938 0.1121 119.78) | color: oklch(0.4938 0.1121 119.78) | |
| Lab | lab(42.01 -18.53 45.02) | color: lab(42.01 -18.53 45.02) | |
| LCH | lch(42.01 48.68 112.37) | color: lch(42.01 48.68 112.37) |
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)
#616123 — rgb(97, 97, 35)
Deuteranopia (Green-blind)
#605F28 — rgb(96, 95, 40)
Tritanopia (Blue-blind)
#5B3539 — rgb(91, 53, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(70, 80%, 23%);
text
color: hsl(70, 80%, 23%);
border
border: 2px solid hsl(70, 80%, 23%);
gradient light
background: linear-gradient(to right, hsl(70, 80%, 43%), hsl(70, 80%, 23%));
gradient dark
background: linear-gradient(to right, hsl(70, 80%, 23%), hsl(70, 80%, 3%))
hex
background-color: #5A6A0C;
tailwind
bg-[hsl(70,80%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(70, 80%, 23%, 0.4);
css variable
--color-primary: hsl(70, 80%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(70, 80%, 23%)?
HEX: #5A6A0C | RGB: rgb(90, 106, 12) | CMYK: 15%, 0%, 89%, 58% | HSV: 70°, 89%, 42%. Copy any format from the conversion table above.
What colors go well with #5A6A0C?
The complementary color is HSL(250, 80%, 23%). For a triadic harmony, use hues 70°, 190°, and 310°. For analogous combinations, try hues 40° and 100°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(70, 80%, 23%) in CSS?
As HSL: color: hsl(70, 80%, 23%); — As HEX: color: #5A6A0C; — As RGB: color: rgb(90, 106, 12); — Tailwind CSS: bg-[hsl(70,80%,23%)] — CSS variable: --color-primary: hsl(70, 80%, 23%);