#A2A02F#A2A02F
#A2A02F is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.7% C 0.131 H 108.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A02F |
|---|---|
| RGB | rgb(162, 160, 47) |
| HSL | hsl(59, 55%, 41%) |
| HSV | hsv(59, 71%, 64%) |
| CMYK | cmyk(0%, 1.2%, 71%, 36.5%) |
| CIE-LAB | lab(64.18, -12.99, 55.94) |
| CIE-LCH | lch(64.18, 57.43, 103.07°) |
| OKLab | oklab(68.68% -0.0413 0.1243) |
| OKLCH | oklch(68.68% 0.131 108.4) |
| XYZ | xyz(27.9852, 33.0291, 7.5899) |
| Luminance | 0.3303 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.60
Puke
#A5A502
ΔE00 3.41
Pea Soup
#929901
ΔE00 4.09
Baby Poop Green
#8F9805
ΔE00 4.56
Pea Soup Green
#94A617
ΔE00 5.03
Baby Shit Green
#889717
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A02F #2F31A2
analogous
#A2662F #A2A02F #6AA22F
triadic
#A2A02F #2FA2A0 #A02FA2
tetradic
#A2A02F #2FA266 #2F31A2 #A22F6A
square
#A2A02F #2FA266 #2F31A2 #A22F6A
split-complementary
#A2A02F #2F6AA2 #662FA2
monochromatic
#434213 #737121 #A2A02F #C9C745 #D7D575
Accessibility & contrast
On white
2.76
#A2A02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#A2A02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A02F
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A02F | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD991C
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a2a02f; /* rgb */ color: rgb(162, 160, 47); /* oklch */ color: oklch(68.7% 0.131 108.4);
Tailwind
colors: {
custom: {
50: '#c1bb6f',
500: '#a2a02f',
950: '#000000',
},
}SCSS
$custom: #a2a02f; $custom-light: #c1bb6f; $custom-dark: #000000;
JSON
{
"hex": "#a2a02f",
"rgb": {
"r": 162,
"g": 160,
"b": 47
},
"hsl": {
"h": 58.957,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.68678,
"c": 0.13098,
"h": 108.4
},
"luminance": 0.33028
}Semantic roles & 50–950 ramp
primary
#A2A02F
secondary
#6E70BF
accent
#4CDE49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B