#A2A521#A2A521
#A2A521 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.144 H 111.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A521 |
|---|---|
| RGB | rgb(162, 165, 33) |
| HSL | hsl(61, 67%, 39%) |
| HSV | hsv(61, 80%, 65%) |
| CMYK | cmyk(1.8%, 0%, 80%, 35.3%) |
| CIE-LAB | lab(65.52, -16.19, 61.87) |
| CIE-LCH | lch(65.52, 63.95, 104.66°) |
| OKLab | oklab(69.72% -0.0515 0.1343) |
| OKLCH | oklch(69.72% 0.144 111) |
| XYZ | xyz(28.6310, 34.7023, 6.6286) |
| Luminance | 0.3470 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.85
Puke
#A5A502
ΔE00 1.86
Pea Soup Green
#94A617
ΔE00 3.57
Pea Soup
#929901
ΔE00 4.16
Puke Green
#9AAE07
ΔE00 4.28
Baby Poop Green
#8F9805
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A521 #2421A5
analogous
#A56621 #A2A521 #60A521
triadic
#A2A521 #21A2A5 #A521A2
tetradic
#A2A521 #21A566 #2421A5 #A52160
square
#A2A521 #21A566 #2421A5 #A52160
split-complementary
#A2A521 #2160A5 #6621A5
monochromatic
#3E3F0D #707217 #A2A521 #D1D52E #DDDF61
Accessibility & contrast
On white
2.64
#A2A521 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#A2A521 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A521
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A521 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A521 | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B3A12D
Tritanopia (blue-blind)
#AE9A8D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a2a521; /* rgb */ color: rgb(162, 165, 33); /* oklch */ color: oklch(69.7% 0.144 111.0);
Tailwind
colors: {
custom: {
50: '#c1bf69',
500: '#a2a521',
950: '#000000',
},
}SCSS
$custom: #a2a521; $custom-light: #c1bf69; $custom-dark: #000000;
JSON
{
"hex": "#a2a521",
"rgb": {
"r": 162,
"g": 165,
"b": 33
},
"hsl": {
"h": 61.364,
"s": 66.667,
"l": 38.824
},
"oklch": {
"l": 0.69718,
"c": 0.14384,
"h": 111
},
"luminance": 0.34701
}Semantic roles & 50–950 ramp
primary
#A2A521
secondary
#605EC4
accent
#3EEA42
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A