#A6D951#A6D951
#A6D951 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.3% C 0.173 H 127.3°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A6D951 |
|---|---|
| RGB | rgb(166, 217, 81) |
| HSL | hsl(83, 64%, 58%) |
| HSV | hsv(83, 63%, 85%) |
| CMYK | cmyk(23.5%, 0%, 62.7%, 14.9%) |
| CIE-LAB | lab(80.92, -36.85, 59.78) |
| CIE-LCH | lch(80.92, 70.22, 121.65°) |
| OKLab | oklab(82.29% -0.1047 0.1373) |
| OKLCH | oklch(82.29% 0.173 127.3) |
| XYZ | xyz(42.0239, 58.3260, 16.8270) |
| Luminance | 0.5833 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 3.60
Kiwi Green
#8EE53F
ΔE00 4.86
Slime Green
#99CC04
ΔE00 5.32
Yellowish Green
#B0DD16
ΔE00 5.38
Kiwi
#9CEF43
ΔE00 5.81
Apple Green
#76CD26
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6D951 #8451D9
analogous
#D9C851 #A6D951 #62D951
triadic
#A6D951 #51A6D9 #D951A6
tetradic
#A6D951 #51D9C8 #8451D9 #D95162
square
#A6D951 #51D9C8 #8451D9 #D95162
split-complementary
#A6D951 #5162D9 #C851D9
monochromatic
#66901F #89C22A #A6D951 #C0E483 #D9EFB5
Accessibility & contrast
On white
1.66
#A6D951 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.67
#A6D951 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6D951
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6D951 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6D951 | 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)
#E3CB40
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#ACD0BD
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #a6d951; /* rgb */ color: rgb(166, 217, 81); /* oklch */ color: oklch(82.3% 0.173 127.3);
Tailwind
colors: {
custom: {
50: '#c4e588',
500: '#a6d951',
950: '#000000',
},
}SCSS
$custom: #a6d951; $custom-light: #c4e588; $custom-dark: #000000;
JSON
{
"hex": "#a6d951",
"rgb": {
"r": 166,
"g": 217,
"b": 81
},
"hsl": {
"h": 82.5,
"s": 64.151,
"l": 58.431
},
"oklch": {
"l": 0.82294,
"c": 0.17265,
"h": 127.3
},
"luminance": 0.58327
}Semantic roles & 50–950 ramp
primary
#A6D951
secondary
#5C3995
accent
#41E77F
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F