#A6D962#A6D962
#A6D962 is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.5% C 0.158 H 128.7°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A6D962 |
|---|---|
| RGB | rgb(166, 217, 98) |
| HSL | hsl(86, 61%, 62%) |
| HSV | hsv(86, 55%, 85%) |
| CMYK | cmyk(23.5%, 0%, 54.8%, 14.9%) |
| CIE-LAB | lab(81.08, -35.37, 52.54) |
| CIE-LCH | lch(81.08, 63.33, 123.95°) |
| OKLab | oklab(82.47% -0.0991 0.1236) |
| OKLCH | oklch(82.47% 0.158 128.7) |
| XYZ | xyz(42.7431, 58.6137, 20.6145) |
| Luminance | 0.5861 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Olive Green
#B1D27B
ΔE00 4.82
Yellowgreen
#9ACD32
ΔE00 5.10
Kiwi Green
#8EE53F
ΔE00 5.59
Light Moss Green
#A6C875
ΔE00 6.10
Kiwi
#9CEF43
ΔE00 6.63
Apple Green
#76CD26
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6D962 #9562D9
analogous
#D9D162 #A6D962 #6BD962
triadic
#A6D962 #62A6D9 #D962A6
tetradic
#A6D962 #62D9D1 #9562D9 #D9626B
square
#A6D962 #62D9D1 #9562D9 #D9626B
split-complementary
#A6D962 #626BD9 #D162D9
monochromatic
#699B26 #8ACC31 #A6D962 #C2E593 #DEF1C5
Accessibility & contrast
On white
1.65
#A6D962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.72
#A6D962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6D962
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6D962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6D962 | 1.00 | 1.65 | 12.72 | 12.72 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC56
Deuteranopia (green-blind)
#DBC86A
Tritanopia (blue-blind)
#AAD0BF
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #a6d962; /* rgb */ color: rgb(166, 217, 98); /* oklch */ color: oklch(82.5% 0.158 128.7);
Tailwind
colors: {
custom: {
50: '#c3e592',
500: '#a6d962',
950: '#000000',
},
}SCSS
$custom: #a6d962; $custom-light: #c3e592; $custom-dark: #000000;
JSON
{
"hex": "#a6d962",
"rgb": {
"r": 166,
"g": 217,
"b": 98
},
"hsl": {
"h": 85.714,
"s": 61.026,
"l": 61.765
},
"oklch": {
"l": 0.82474,
"c": 0.15848,
"h": 128.7
},
"luminance": 0.58615
}Semantic roles & 50–950 ramp
primary
#A6D962
secondary
#69409F
accent
#1DC966
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F