#A9A221#A9A221
#A9A221 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.140 H 106.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A221 |
|---|---|
| RGB | rgb(169, 162, 33) |
| HSL | hsl(57, 67%, 40%) |
| HSV | hsv(57, 80%, 66%) |
| CMYK | cmyk(0%, 4.1%, 80.5%, 33.7%) |
| CIE-LAB | lab(65.27, -11.54, 61.88) |
| CIE-LCH | lch(65.27, 62.94, 100.56°) |
| OKLab | oklab(69.66% -0.0389 0.134) |
| OKLCH | oklch(69.66% 0.14 106.2) |
| XYZ | xyz(29.5583, 34.3866, 6.5188) |
| Luminance | 0.3438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.31
Vomit
#A2A415
ΔE00 2.39
Pea Soup
#929901
ΔE00 5.14
Muddy Yellow
#BFAC05
ΔE00 5.34
Baby Poop Green
#8F9805
ΔE00 5.82
Pea Soup Green
#94A617
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A221 #2128A9
analogous
#A95E21 #A9A221 #6CA921
triadic
#A9A221 #21A9A2 #A221A9
tetradic
#A9A221 #21A95E #2128A9 #A9216C
square
#A9A221 #21A95E #2128A9 #A9216C
split-complementary
#A9A221 #216CA9 #5E21A9
monochromatic
#43400D #767117 #A9A221 #D7CE31 #E1DA64
Accessibility & contrast
On white
2.67
#A9A221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A9A221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A221
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A221 | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A12C
Tritanopia (blue-blind)
#B6978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a9a221; /* rgb */ color: rgb(169, 162, 33); /* oklch */ color: oklch(69.7% 0.140 106.2);
Tailwind
colors: {
custom: {
50: '#c6bd69',
500: '#a9a221',
950: '#000000',
},
}SCSS
$custom: #a9a221; $custom-light: #c6bd69; $custom-dark: #000000;
JSON
{
"hex": "#a9a221",
"rgb": {
"r": 169,
"g": 162,
"b": 33
},
"hsl": {
"h": 56.912,
"s": 67.327,
"l": 39.608
},
"oklch": {
"l": 0.69664,
"c": 0.13955,
"h": 106.2
},
"luminance": 0.34385
}Semantic roles & 50–950 ramp
primary
#A9A221
secondary
#6065C6
accent
#46EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A