#A2AA42#A2AA42
#A2AA42 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.1% C 0.128 H 113.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AA42 |
|---|---|
| RGB | rgb(162, 170, 66) |
| HSL | hsl(65, 44%, 46%) |
| HSV | hsv(65, 61%, 67%) |
| CMYK | cmyk(4.7%, 0%, 61.2%, 33.3%) |
| CIE-LAB | lab(67.15, -16.98, 51.16) |
| CIE-LCH | lch(67.15, 53.90, 108.36°) |
| OKLab | oklab(71.09% -0.0505 0.1172) |
| OKLCH | oklch(71.09% 0.128 113.3) |
| XYZ | xyz(30.2591, 36.8248, 10.6671) |
| Luminance | 0.3682 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 4.25
Vomit
#A2A415
ΔE00 4.60
Booger
#9BB53C
ΔE00 4.63
Puke Green
#9AAE07
ΔE00 4.96
Barf Green
#94AC02
ΔE00 5.26
Icky Green
#8FAE22
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AA42 #4A42AA
analogous
#AA7E42 #A2AA42 #6EAA42
triadic
#A2AA42 #42A2AA #AA42A2
tetradic
#A2AA42 #42AA7E #4A42AA #AA426E
square
#A2AA42 #42AA7E #4A42AA #AA426E
split-complementary
#A2AA42 #426EAA #7E42AA
monochromatic
#4E5220 #787E31 #A2AA42 #BCC366 #CFD592
Accessibility & contrast
On white
2.51
#A2AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#A2AA42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AA42
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AA42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AA42 | 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)
#B6A236
Deuteranopia (green-blind)
#B6A549
Tritanopia (blue-blind)
#ACA094
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a2aa42; /* rgb */ color: rgb(162, 170, 66); /* oklch */ color: oklch(71.1% 0.128 113.3);
Tailwind
colors: {
custom: {
50: '#c0c37b',
500: '#a2aa42',
950: '#000000',
},
}SCSS
$custom: #a2aa42; $custom-light: #c0c37b; $custom-dark: #000000;
JSON
{
"hex": "#a2aa42",
"rgb": {
"r": 162,
"g": 170,
"b": 66
},
"hsl": {
"h": 64.615,
"s": 44.068,
"l": 46.275
},
"oklch": {
"l": 0.71091,
"c": 0.12763,
"h": 113.3
},
"luminance": 0.36824
}Semantic roles & 50–950 ramp
primary
#A2AA42
secondary
#8C88C0
accent
#54D45E
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C