HSL(122, 40%, 75%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,40%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 40%, 75%) | color: hsl(122, 40%, 75%) | |
| HEX | #A6D9A7 | color: #A6D9A7 | |
| RGB | rgb(166, 217, 167) | color: rgb(166, 217, 167) | |
| CMYK | cmyk(24%, 0%, 23%, 15%) | — | |
| HSV | hsv(121, 24%, 85%) | — | |
| HWB | hwb(121 65% 15%) | color: hwb(121 65% 15%) | |
| OKLCH | oklch(0.8365 0.0869 145.24) | color: oklch(0.8365 0.0869 145.24) | |
| Lab | lab(82.12 -26.12 19.4) | color: lab(82.12 -26.12 19.4) | |
| LCH | lch(82.12 32.54 143.4) | color: lch(82.12 32.54 143.4) |
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)
#BCBDB3 — rgb(188, 189, 179)
Deuteranopia (Green-blind)
#B9B5B6 — rgb(185, 181, 182)
Tritanopia (Blue-blind)
#A9BDBF — rgb(169, 189, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 40%, 75%);
text
color: hsl(122, 40%, 75%);
border
border: 2px solid hsl(122, 40%, 75%);
gradient light
background: linear-gradient(to right, hsl(122, 40%, 95%), hsl(122, 40%, 75%));
gradient dark
background: linear-gradient(to right, hsl(122, 40%, 75%), hsl(122, 40%, 55%))
hex
background-color: #A6D9A7;
tailwind
bg-[hsl(122,40%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 40%, 75%, 0.4);
css variable
--color-primary: hsl(122, 40%, 75%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 40%, 75%)?
HEX: #A6D9A7 | RGB: rgb(166, 217, 167) | CMYK: 24%, 0%, 23%, 15% | HSV: 121°, 24%, 85%. Copy any format from the conversion table above.
What colors go well with #A6D9A7?
The complementary color is HSL(302, 40%, 75%). 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, 40%, 75%) in CSS?
As HSL: color: hsl(122, 40%, 75%); — As HEX: color: #A6D9A7; — As RGB: color: rgb(166, 217, 167); — Tailwind CSS: bg-[hsl(122,40%,75%)] — CSS variable: --color-primary: hsl(122, 40%, 75%);