#A6D952#A6D952
#A6D952 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.3% C 0.172 H 127.4°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A6D952 |
|---|---|
| RGB | rgb(166, 217, 82) |
| HSL | hsl(83, 64%, 59%) |
| HSV | hsv(83, 62%, 85%) |
| CMYK | cmyk(23.5%, 0%, 62.2%, 14.9%) |
| CIE-LAB | lab(80.93, -36.77, 59.37) |
| CIE-LCH | lch(80.93, 69.83, 121.77°) |
| OKLab | oklab(82.3% -0.1044 0.1366) |
| OKLCH | oklch(82.3% 0.172 127.4) |
| XYZ | xyz(42.0617, 58.3411, 17.0260) |
| Luminance | 0.5834 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 3.67
Kiwi Green
#8EE53F
ΔE00 4.88
Slime Green
#99CC04
ΔE00 5.41
Yellowish Green
#B0DD16
ΔE00 5.49
Kiwi
#9CEF43
ΔE00 5.83
Pale Olive Green
#B1D27B
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6D952 #8552D9
analogous
#D9C952 #A6D952 #62D952
triadic
#A6D952 #52A6D9 #D952A6
tetradic
#A6D952 #52D9C9 #8552D9 #D95262
square
#A6D952 #52D9C9 #8552D9 #D95262
split-complementary
#A6D952 #5262D9 #C952D9
monochromatic
#669120 #89C32B #A6D952 #C0E484 #DAEFB6
Accessibility & contrast
On white
1.66
#A6D952 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.67
#A6D952 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6D952
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6D952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6D952 | 1.00 | 1.66 | 12.67 | 12.67 |
| #FFFFFF | 1.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#ACD0BD
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #a6d952; /* rgb */ color: rgb(166, 217, 82); /* oklch */ color: oklch(82.3% 0.172 127.4);
Tailwind
colors: {
custom: {
50: '#c4e588',
500: '#a6d952',
950: '#000000',
},
}SCSS
$custom: #a6d952; $custom-light: #c4e588; $custom-dark: #000000;
JSON
{
"hex": "#a6d952",
"rgb": {
"r": 166,
"g": 217,
"b": 82
},
"hsl": {
"h": 82.667,
"s": 63.981,
"l": 58.627
},
"oklch": {
"l": 0.82303,
"c": 0.17188,
"h": 127.4
},
"luminance": 0.58342
}Semantic roles & 50–950 ramp
primary
#A6D952
secondary
#5C3996
accent
#41E780
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F