HSL(127, 20%, 74%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,20%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 20%, 74%) | color: hsl(127, 20%, 74%) | |
| HEX | #AFCAB3 | color: #AFCAB3 | |
| RGB | rgb(175, 202, 179) | color: rgb(175, 202, 179) | |
| CMYK | cmyk(13%, 0%, 11%, 21%) | — | |
| HSV | hsv(129, 13%, 79%) | — | |
| HWB | hwb(129 69% 21%) | color: hwb(129 69% 21%) | |
| OKLCH | oklch(0.8124 0.0432 149.47) | color: oklch(0.8124 0.0432 149.47) | |
| Lab | lab(78.82 -13.48 8.45) | color: lab(78.82 -13.48 8.45) | |
| LCH | lch(78.82 15.91 147.92) | color: lch(78.82 15.91 147.92) |
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)
#BBBBB9 — rgb(187, 187, 185)
Deuteranopia (Green-blind)
#B9B7BA — rgb(185, 183, 186)
Tritanopia (Blue-blind)
#B0BDBE — rgb(176, 189, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 20%, 74%);
text
color: hsl(127, 20%, 74%);
border
border: 2px solid hsl(127, 20%, 74%);
gradient light
background: linear-gradient(to right, hsl(127, 20%, 94%), hsl(127, 20%, 74%));
gradient dark
background: linear-gradient(to right, hsl(127, 20%, 74%), hsl(127, 20%, 54%))
hex
background-color: #AFCAB3;
tailwind
bg-[hsl(127,20%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 20%, 74%, 0.4);
css variable
--color-primary: hsl(127, 20%, 74%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 20%, 74%)?
HEX: #AFCAB3 | RGB: rgb(175, 202, 179) | CMYK: 13%, 0%, 11%, 21% | HSV: 129°, 13%, 79%. Copy any format from the conversion table above.
What colors go well with #AFCAB3?
The complementary color is HSL(307, 20%, 74%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 20%, 74%) in CSS?
As HSL: color: hsl(127, 20%, 74%); — As HEX: color: #AFCAB3; — As RGB: color: rgb(175, 202, 179); — Tailwind CSS: bg-[hsl(127,20%,74%)] — CSS variable: --color-primary: hsl(127, 20%, 74%);