HSL(118, 60%, 80%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(118,60%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(118, 60%, 80%) | color: hsl(118, 60%, 80%) | |
| HEX | #AFEBAD | color: #AFEBAD | |
| RGB | rgb(175, 235, 173) | color: rgb(175, 235, 173) | |
| CMYK | cmyk(26%, 0%, 26%, 8%) | — | |
| HSV | hsv(118, 26%, 92%) | — | |
| HWB | hwb(118 68% 8%) | color: hwb(118 68% 8%) | |
| OKLCH | oklch(0.8835 0.1038 143.85) | color: oklch(0.8835 0.1038 143.85) | |
| Lab | lab(87.75 -30.72 24.12) | color: lab(87.75 -30.72 24.12) | |
| LCH | lch(87.75 39.06 141.86) | color: lch(87.75 39.06 141.86) |
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)
#C9CABC — rgb(201, 202, 188)
Deuteranopia (Green-blind)
#C6C1C0 — rgb(198, 193, 192)
Tritanopia (Blue-blind)
#B2C8CA — rgb(178, 200, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(118, 60%, 80%);
text
color: hsl(118, 60%, 80%);
border
border: 2px solid hsl(118, 60%, 80%);
gradient light
background: linear-gradient(to right, hsl(118, 60%, 100%), hsl(118, 60%, 80%));
gradient dark
background: linear-gradient(to right, hsl(118, 60%, 80%), hsl(118, 60%, 60%))
hex
background-color: #AFEBAD;
tailwind
bg-[hsl(118,60%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(118, 60%, 80%, 0.4);
css variable
--color-primary: hsl(118, 60%, 80%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(118, 60%, 80%)?
HEX: #AFEBAD | RGB: rgb(175, 235, 173) | CMYK: 26%, 0%, 26%, 8% | HSV: 118°, 26%, 92%. Copy any format from the conversion table above.
What colors go well with #AFEBAD?
The complementary color is HSL(298, 60%, 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, 60%, 80%) in CSS?
As HSL: color: hsl(118, 60%, 80%); — As HEX: color: #AFEBAD; — As RGB: color: rgb(175, 235, 173); — Tailwind CSS: bg-[hsl(118,60%,80%)] — CSS variable: --color-primary: hsl(118, 60%, 80%);