#A2A02B#A2A02B
#A2A02B is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.7% C 0.134 H 108.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A02B |
|---|---|
| RGB | rgb(162, 160, 43) |
| HSL | hsl(59, 58%, 40%) |
| HSV | hsv(59, 73%, 64%) |
| CMYK | cmyk(0%, 1.2%, 73.5%, 36.5%) |
| CIE-LAB | lab(64.16, -13.19, 57.39) |
| CIE-LCH | lch(64.16, 58.88, 102.94°) |
| OKLab | oklab(68.65% -0.0423 0.1266) |
| OKLCH | oklch(68.65% 0.134 108.5) |
| XYZ | xyz(27.9082, 32.9983, 7.1842) |
| Luminance | 0.3300 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.27
Puke
#A5A502
ΔE00 3.05
Pea Soup
#929901
ΔE00 3.90
Baby Poop Green
#8F9805
ΔE00 4.42
Pea Soup Green
#94A617
ΔE00 4.94
Baby Shit Green
#889717
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A02B #2B2DA2
analogous
#A2652B #A2A02B #68A22B
triadic
#A2A02B #2BA2A0 #A02BA2
tetradic
#A2A02B #2BA265 #2B2DA2 #A22B68
square
#A2A02B #2BA265 #2B2DA2 #A22B68
split-complementary
#A2A02B #2B68A2 #652BA2
monochromatic
#414011 #72701E #A2A02B #CCC93E #D9D76F
Accessibility & contrast
On white
2.76
#A2A02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#A2A02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A02B
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A02B | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9914
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a2a02b; /* rgb */ color: rgb(162, 160, 43); /* oklch */ color: oklch(68.7% 0.134 108.5);
Tailwind
colors: {
custom: {
50: '#c1bb6d',
500: '#a2a02b',
950: '#000000',
},
}SCSS
$custom: #a2a02b; $custom-light: #c1bb6d; $custom-dark: #000000;
JSON
{
"hex": "#a2a02b",
"rgb": {
"r": 162,
"g": 160,
"b": 43
},
"hsl": {
"h": 58.992,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.6865,
"c": 0.1335,
"h": 108.5
},
"luminance": 0.32997
}Semantic roles & 50–950 ramp
primary
#A2A02B
secondary
#696BC0
accent
#49E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A