#A2AA40#A2AA40
#A2AA40 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.1% C 0.129 H 113.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AA40 |
|---|---|
| RGB | rgb(162, 170, 64) |
| HSL | hsl(65, 45%, 46%) |
| HSV | hsv(65, 62%, 67%) |
| CMYK | cmyk(4.7%, 0%, 62.4%, 33.3%) |
| CIE-LAB | lab(67.13, -17.12, 52.01) |
| CIE-LCH | lch(67.13, 54.76, 108.22°) |
| OKLab | oklab(71.07% -0.0511 0.1187) |
| OKLCH | oklch(71.07% 0.129 113.3) |
| XYZ | xyz(30.2012, 36.8016, 10.3620) |
| Luminance | 0.3680 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 4.06
Vomit
#A2A415
ΔE00 4.37
Booger
#9BB53C
ΔE00 4.60
Puke Green
#9AAE07
ΔE00 4.74
Barf Green
#94AC02
ΔE00 5.06
Puke
#A5A502
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AA40 #4840AA
analogous
#AA7D40 #A2AA40 #6DAA40
triadic
#A2AA40 #40A2AA #AA40A2
tetradic
#A2AA40 #40AA7D #4840AA #AA406D
square
#A2AA40 #40AA7D #4840AA #AA406D
split-complementary
#A2AA40 #406DAA #7D40AA
monochromatic
#4D511F #787E2F #A2AA40 #BDC463 #D0D58F
Accessibility & contrast
On white
2.51
#A2AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#A2AA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AA40
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AA40 | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B6A547
Tritanopia (blue-blind)
#ACA094
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a2aa40; /* rgb */ color: rgb(162, 170, 64); /* oklch */ color: oklch(71.1% 0.129 113.3);
Tailwind
colors: {
custom: {
50: '#c0c37a',
500: '#a2aa40',
950: '#000000',
},
}SCSS
$custom: #a2aa40; $custom-light: #c0c37a; $custom-dark: #000000;
JSON
{
"hex": "#a2aa40",
"rgb": {
"r": 162,
"g": 170,
"b": 64
},
"hsl": {
"h": 64.528,
"s": 45.299,
"l": 45.882
},
"oklch": {
"l": 0.71071,
"c": 0.12928,
"h": 113.3
},
"luminance": 0.36801
}Semantic roles & 50–950 ramp
primary
#A2AA40
secondary
#8A86C0
accent
#53D55D
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B