HSL(122, 50%, 77%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,50%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 50%, 77%) | color: hsl(122, 50%, 77%) | |
| HEX | #A7E2A9 | color: #A7E2A9 | |
| RGB | rgb(167, 226, 169) | color: rgb(167, 226, 169) | |
| CMYK | cmyk(26%, 0%, 25%, 11%) | — | |
| HSV | hsv(122, 26%, 89%) | — | |
| HWB | hwb(122 66% 11%) | color: hwb(122 66% 11%) | |
| OKLCH | oklch(0.8577 0.0987 145.49) | color: oklch(0.8577 0.0987 145.49) | |
| Lab | lab(84.73 -29.75 21.96) | color: lab(84.73 -29.75 21.96) | |
| LCH | lch(84.73 36.98 143.57) | color: lch(84.73 36.98 143.57) |
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)
#C1C1B7 — rgb(193, 193, 183)
Deuteranopia (Green-blind)
#BDB9BA — rgb(189, 185, 186)
Tritanopia (Blue-blind)
#AAC2C4 — rgb(170, 194, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 50%, 77%);
text
color: hsl(122, 50%, 77%);
border
border: 2px solid hsl(122, 50%, 77%);
gradient light
background: linear-gradient(to right, hsl(122, 50%, 97%), hsl(122, 50%, 77%));
gradient dark
background: linear-gradient(to right, hsl(122, 50%, 77%), hsl(122, 50%, 57%))
hex
background-color: #A7E2A9;
tailwind
bg-[hsl(122,50%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 50%, 77%, 0.4);
css variable
--color-primary: hsl(122, 50%, 77%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 50%, 77%)?
HEX: #A7E2A9 | RGB: rgb(167, 226, 169) | CMYK: 26%, 0%, 25%, 11% | HSV: 122°, 26%, 89%. Copy any format from the conversion table above.
What colors go well with #A7E2A9?
The complementary color is HSL(302, 50%, 77%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(122, 50%, 77%) in CSS?
As HSL: color: hsl(122, 50%, 77%); — As HEX: color: #A7E2A9; — As RGB: color: rgb(167, 226, 169); — Tailwind CSS: bg-[hsl(122,50%,77%)] — CSS variable: --color-primary: hsl(122, 50%, 77%);