#A6D162#A6D162
#A6D162 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.6% C 0.148 H 127.0°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A6D162 |
|---|---|
| RGB | rgb(166, 209, 98) |
| HSL | hsl(83, 55%, 60%) |
| HSV | hsv(83, 53%, 82%) |
| CMYK | cmyk(20.6%, 0%, 53.1%, 18%) |
| CIE-LAB | lab(78.80, -31.68, 49.87) |
| CIE-LCH | lch(78.80, 59.08, 122.42°) |
| OKLab | oklab(80.64% -0.0889 0.1179) |
| OKLCH | oklch(80.64% 0.148 127) |
| XYZ | xyz(40.7308, 54.5892, 19.9438) |
| Luminance | 0.5459 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Olive Green
#B1D27B
ΔE00 3.71
Light Moss Green
#A6C875
ΔE00 4.43
Yellowgreen
#9ACD32
ΔE00 4.86
Light Olive Green
#A4BE5C
ΔE00 5.18
Pistachio
#93C572
ΔE00 5.95
Light Olive
#ACBF69
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6D162 #8D62D1
analogous
#D1C462 #A6D162 #6FD162
triadic
#A6D162 #62A6D1 #D162A6
tetradic
#A6D162 #62D1C4 #8D62D1 #D1626F
square
#A6D162 #62D1C4 #8D62D1 #D1626F
split-complementary
#A6D162 #626FD1 #C462D1
monochromatic
#688F2A #8ABE38 #A6D162 #C1DF91 #DCEDC1
Accessibility & contrast
On white
1.76
#A6D162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.92
#A6D162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6D162
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6D162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6D162 | 1.00 | 1.76 | 11.92 | 11.92 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC557
Deuteranopia (green-blind)
#D4C269
Tritanopia (blue-blind)
#ABC9B8
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #a6d162; /* rgb */ color: rgb(166, 209, 98); /* oklch */ color: oklch(80.6% 0.148 127.0);
Tailwind
colors: {
custom: {
50: '#c3df92',
500: '#a6d162',
950: '#000000',
},
}SCSS
$custom: #a6d162; $custom-light: #c3df92; $custom-dark: #000000;
JSON
{
"hex": "#a6d162",
"rgb": {
"r": 166,
"g": 209,
"b": 98
},
"hsl": {
"h": 83.243,
"s": 54.68,
"l": 60.196
},
"oklch": {
"l": 0.80636,
"c": 0.14762,
"h": 127
},
"luminance": 0.5459
}Semantic roles & 50–950 ramp
primary
#A6D162
secondary
#624295
accent
#23C261
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F