HSL(118, 74%, 80%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(118,74%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(118, 74%, 80%) | color: hsl(118, 74%, 80%) | |
| HEX | #A9F2A6 | color: #A9F2A6 | |
| RGB | rgb(169, 242, 166) | color: rgb(169, 242, 166) | |
| CMYK | cmyk(30%, 0%, 31%, 5%) | — | |
| HSV | hsv(118, 31%, 95%) | — | |
| HWB | hwb(118 66% 5%) | color: hwb(118 66% 5%) | |
| OKLCH | oklch(0.8943 0.1255 143.52) | color: oklch(0.8943 0.1255 143.52) | |
| Lab | lab(89.25 -37.01 29.68) | color: lab(89.25 -37.01 29.68) | |
| LCH | lch(89.25 47.44 141.27) | color: lch(89.25 47.44 141.27) |
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)
#C9C9B8 — rgb(201, 201, 184)
Deuteranopia (Green-blind)
#C4BFBD — rgb(196, 191, 189)
Tritanopia (Blue-blind)
#ADC7CA — rgb(173, 199, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(118, 74%, 80%);
text
color: hsl(118, 74%, 80%);
border
border: 2px solid hsl(118, 74%, 80%);
gradient light
background: linear-gradient(to right, hsl(118, 74%, 100%), hsl(118, 74%, 80%));
gradient dark
background: linear-gradient(to right, hsl(118, 74%, 80%), hsl(118, 74%, 60%))
hex
background-color: #A9F2A6;
tailwind
bg-[hsl(118,74%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(118, 74%, 80%, 0.4);
css variable
--color-primary: hsl(118, 74%, 80%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(118, 74%, 80%)?
HEX: #A9F2A6 | RGB: rgb(169, 242, 166) | CMYK: 30%, 0%, 31%, 5% | HSV: 118°, 31%, 95%. Copy any format from the conversion table above.
What colors go well with #A9F2A6?
The complementary color is HSL(298, 74%, 80%). 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, 74%, 80%) in CSS?
As HSL: color: hsl(118, 74%, 80%); — As HEX: color: #A9F2A6; — As RGB: color: rgb(169, 242, 166); — Tailwind CSS: bg-[hsl(118,74%,80%)] — CSS variable: --color-primary: hsl(118, 74%, 80%);