#A9A22A#A9A22A
#A9A22A is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.135 H 106.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A22A |
|---|---|
| RGB | rgb(169, 162, 42) |
| HSL | hsl(57, 60%, 41%) |
| HSV | hsv(57, 75%, 66%) |
| CMYK | cmyk(0%, 4.1%, 75.1%, 33.7%) |
| CIE-LAB | lab(65.31, -11.19, 59.04) |
| CIE-LCH | lch(65.31, 60.09, 100.73°) |
| OKLab | oklab(69.71% -0.0371 0.1297) |
| OKLCH | oklch(69.71% 0.135 106) |
| XYZ | xyz(29.7017, 34.4440, 7.2738) |
| Luminance | 0.3444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.66
Puke
#A5A502
ΔE00 2.84
Pea Soup
#929901
ΔE00 5.25
Muddy Yellow
#BFAC05
ΔE00 5.71
Baby Poop Green
#8F9805
ΔE00 5.87
Pea Soup Green
#94A617
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A22A #2A31A9
analogous
#A9632A #A9A22A #71A92A
triadic
#A9A22A #2AA9A2 #A22AA9
tetradic
#A9A22A #2AA963 #2A31A9 #A92A71
square
#A9A22A #2AA963 #2A31A9 #A92A71
split-complementary
#A9A22A #2A71A9 #632AA9
monochromatic
#474412 #78731E #A9A22A #D0C841 #DCD672
Accessibility & contrast
On white
2.66
#A9A22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A9A22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A22A
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A22A | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#B6978B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a9a22a; /* rgb */ color: rgb(169, 162, 42); /* oklch */ color: oklch(69.7% 0.135 106.0);
Tailwind
colors: {
custom: {
50: '#c6bd6d',
500: '#a9a22a',
950: '#000000',
},
}SCSS
$custom: #a9a22a; $custom-light: #c6bd6d; $custom-dark: #000000;
JSON
{
"hex": "#a9a22a",
"rgb": {
"r": 169,
"g": 162,
"b": 42
},
"hsl": {
"h": 56.693,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.69714,
"c": 0.1349,
"h": 106
},
"luminance": 0.34443
}Semantic roles & 50–950 ramp
primary
#A9A22A
secondary
#6C71C3
accent
#4DE344
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B