HSL(90, 80%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(90,80%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(90, 80%, 40%) | color: hsl(90, 80%, 40%) | |
| HEX | #66B814 | color: #66B814 | |
| RGB | rgb(102, 184, 20) | color: rgb(102, 184, 20) | |
| CMYK | cmyk(45%, 0%, 89%, 28%) | — | |
| HSV | hsv(90, 89%, 72%) | — | |
| HWB | hwb(90 8% 28%) | color: hwb(90 8% 28%) | |
| OKLCH | oklch(0.7026 0.1974 134.36) | color: oklch(0.7026 0.1974 134.36) | |
| Lab | lab(67.39 -49.03 65.08) | color: lab(67.39 -49.03 65.08) | |
| LCH | lch(67.39 81.48 126.99) | color: lch(67.39 81.48 126.99) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8A8A3C — rgb(138, 138, 60)
Deuteranopia (Green-blind)
#857F45 — rgb(133, 127, 69)
Tritanopia (Blue-blind)
#6A5B62 — rgb(106, 91, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(90, 80%, 40%);
text
color: hsl(90, 80%, 40%);
border
border: 2px solid hsl(90, 80%, 40%);
gradient light
background: linear-gradient(to right, hsl(90, 80%, 60%), hsl(90, 80%, 40%));
gradient dark
background: linear-gradient(to right, hsl(90, 80%, 40%), hsl(90, 80%, 20%))
hex
background-color: #66B814;
tailwind
bg-[hsl(90,80%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(90, 80%, 40%, 0.4);
css variable
--color-primary: hsl(90, 80%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(90, 80%, 40%)?
HEX: #66B814 | RGB: rgb(102, 184, 20) | CMYK: 45%, 0%, 89%, 28% | HSV: 90°, 89%, 72%. Copy any format from the conversion table above.
What colors go well with #66B814?
The complementary color is HSL(270, 80%, 40%). For a triadic harmony, use hues 90°, 210°, and 330°. For analogous combinations, try hues 60° and 120°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(90, 80%, 40%) in CSS?
As HSL: color: hsl(90, 80%, 40%); — As HEX: color: #66B814; — As RGB: color: rgb(102, 184, 20); — Tailwind CSS: bg-[hsl(90,80%,40%)] — CSS variable: --color-primary: hsl(90, 80%, 40%);