#A7D162#A7D162
#A7D162 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.7% C 0.147 H 126.7°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A7D162 |
|---|---|
| RGB | rgb(167, 209, 98) |
| HSL | hsl(83, 55%, 60%) |
| HSV | hsv(83, 53%, 82%) |
| CMYK | cmyk(20.1%, 0%, 53.1%, 18%) |
| CIE-LAB | lab(78.87, -31.30, 49.96) |
| CIE-LCH | lch(78.87, 58.96, 122.06°) |
| OKLab | oklab(80.7% -0.0879 0.1181) |
| OKLCH | oklch(80.7% 0.147 126.7) |
| XYZ | xyz(40.9413, 54.6977, 19.9537) |
| Luminance | 0.5470 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pale Olive Green
#B1D27B
ΔE00 3.68
Light Moss Green
#A6C875
ΔE00 4.44
Yellowgreen
#9ACD32
ΔE00 4.85
Light Olive Green
#A4BE5C
ΔE00 5.12
Light Olive
#ACBF69
ΔE00 6.01
Pistachio
#93C572
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7D162 #8C62D1
analogous
#D1C462 #A7D162 #6FD162
triadic
#A7D162 #62A7D1 #D162A7
tetradic
#A7D162 #62D1C4 #8C62D1 #D1626F
square
#A7D162 #62D1C4 #8C62D1 #D1626F
split-complementary
#A7D162 #626FD1 #C462D1
monochromatic
#698F2A #8BBE38 #A7D162 #C2DF91 #DCEDC1
Accessibility & contrast
On white
1.76
#A7D162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.94
#A7D162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7D162
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7D162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7D162 | 1.00 | 1.76 | 11.94 | 11.94 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC557
Deuteranopia (green-blind)
#D5C369
Tritanopia (blue-blind)
#ACC9B8
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #a7d162; /* rgb */ color: rgb(167, 209, 98); /* oklch */ color: oklch(80.7% 0.147 126.7);
Tailwind
colors: {
custom: {
50: '#c3df92',
500: '#a7d162',
950: '#000000',
},
}SCSS
$custom: #a7d162; $custom-light: #c3df92; $custom-dark: #000000;
JSON
{
"hex": "#a7d162",
"rgb": {
"r": 167,
"g": 209,
"b": 98
},
"hsl": {
"h": 82.703,
"s": 54.68,
"l": 60.196
},
"oklch": {
"l": 0.80703,
"c": 0.14717,
"h": 126.7
},
"luminance": 0.54698
}Semantic roles & 50–950 ramp
primary
#A7D162
secondary
#624295
accent
#23C25F
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F