#A2AA2B#A2AA2B
#A2AA2B is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.144 H 113.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AA2B |
|---|---|
| RGB | rgb(162, 170, 43) |
| HSL | hsl(64, 60%, 42%) |
| HSV | hsv(64, 75%, 67%) |
| CMYK | cmyk(4.7%, 0%, 74.7%, 33.3%) |
| CIE-LAB | lab(66.98, -18.33, 60.06) |
| CIE-LCH | lch(66.98, 62.79, 106.98°) |
| OKLab | oklab(70.91% -0.0566 0.1323) |
| OKLCH | oklch(70.91% 0.144 113.2) |
| XYZ | xyz(29.7120, 36.6059, 7.7855) |
| Luminance | 0.3660 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.59
Pea Soup Green
#94A617
ΔE00 2.92
Puke Green
#9AAE07
ΔE00 3.09
Puke
#A5A502
ΔE00 3.33
Barf Green
#94AC02
ΔE00 3.70
Mustard Green
#A8B504
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AA2B #332BAA
analogous
#AA732B #A2AA2B #62AA2B
triadic
#A2AA2B #2BA2AA #AA2BA2
tetradic
#A2AA2B #2BAA73 #332BAA #AA2B62
square
#A2AA2B #2BAA73 #332BAA #AA2B62
split-complementary
#A2AA2B #2B62AA #732BAA
monochromatic
#454812 #73791F #A2AA2B #C7CF43 #D5DC74
Accessibility & contrast
On white
2.52
#A2AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#A2AA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AA2B
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AA2B | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20F
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#ADA092
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a2aa2b; /* rgb */ color: rgb(162, 170, 43); /* oklch */ color: oklch(70.9% 0.144 113.2);
Tailwind
colors: {
custom: {
50: '#c1c36e',
500: '#a2aa2b',
950: '#000000',
},
}SCSS
$custom: #a2aa2b; $custom-light: #c1c36e; $custom-dark: #000000;
JSON
{
"hex": "#a2aa2b",
"rgb": {
"r": 162,
"g": 170,
"b": 43
},
"hsl": {
"h": 63.78,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.70906,
"c": 0.14388,
"h": 113.2
},
"luminance": 0.36605
}Semantic roles & 50–950 ramp
primary
#A2AA2B
secondary
#736EC3
accent
#45E34F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B