HSL(118, 30%, 66%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(118,30%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(118, 30%, 66%) | color: hsl(118, 30%, 66%) | |
| HEX | #90C28E | color: #90C28E | |
| RGB | rgb(144, 194, 142) | color: rgb(144, 194, 142) | |
| CMYK | cmyk(26%, 0%, 27%, 24%) | — | |
| HSV | hsv(118, 27%, 76%) | — | |
| HWB | hwb(118 55% 24%) | color: hwb(118 55% 24%) | |
| OKLCH | oklch(0.7651 0.0901 143.7) | color: oklch(0.7651 0.0901 143.7) | |
| Lab | lab(73.85 -26.6 21.01) | color: lab(73.85 -26.6 21.01) | |
| LCH | lch(73.85 33.9 141.7) | color: lch(73.85 33.9 141.7) |
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)
#A6A69B — rgb(166, 166, 155)
Deuteranopia (Green-blind)
#A39F9E — rgb(163, 159, 158)
Tritanopia (Blue-blind)
#93A5A7 — rgb(147, 165, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(118, 30%, 66%);
text
color: hsl(118, 30%, 66%);
border
border: 2px solid hsl(118, 30%, 66%);
gradient light
background: linear-gradient(to right, hsl(118, 30%, 86%), hsl(118, 30%, 66%));
gradient dark
background: linear-gradient(to right, hsl(118, 30%, 66%), hsl(118, 30%, 46%))
hex
background-color: #90C28E;
tailwind
bg-[hsl(118,30%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(118, 30%, 66%, 0.4);
css variable
--color-primary: hsl(118, 30%, 66%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(118, 30%, 66%)?
HEX: #90C28E | RGB: rgb(144, 194, 142) | CMYK: 26%, 0%, 27%, 24% | HSV: 118°, 27%, 76%. Copy any format from the conversion table above.
What colors go well with #90C28E?
The complementary color is HSL(298, 30%, 66%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(118, 30%, 66%) in CSS?
As HSL: color: hsl(118, 30%, 66%); — As HEX: color: #90C28E; — As RGB: color: rgb(144, 194, 142); — Tailwind CSS: bg-[hsl(118,30%,66%)] — CSS variable: --color-primary: hsl(118, 30%, 66%);