#A9A22B#A9A22B
#A9A22B is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.134 H 106.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A22B |
|---|---|
| RGB | rgb(169, 162, 43) |
| HSL | hsl(57, 59%, 42%) |
| HSV | hsv(57, 75%, 66%) |
| CMYK | cmyk(0%, 4.1%, 74.6%, 33.7%) |
| CIE-LAB | lab(65.32, -11.14, 58.70) |
| CIE-LCH | lch(65.32, 59.75, 100.75°) |
| OKLab | oklab(69.72% -0.0369 0.1291) |
| OKLCH | oklch(69.72% 0.134 106) |
| XYZ | xyz(29.7198, 34.4512, 7.3693) |
| Luminance | 0.3445 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.71
Puke
#A5A502
ΔE00 2.91
Pea Soup
#929901
ΔE00 5.27
Muddy Yellow
#BFAC05
ΔE00 5.76
Baby Poop Green
#8F9805
ΔE00 5.89
Pea Soup Green
#94A617
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A22B #2B32A9
analogous
#A9632B #A9A22B #71A92B
triadic
#A9A22B #2BA9A2 #A22BA9
tetradic
#A9A22B #2BA963 #2B32A9 #A92B71
square
#A9A22B #2BA963 #2B32A9 #A92B71
split-complementary
#A9A22B #2B71A9 #632BA9
monochromatic
#474412 #78731F #A9A22B #CFC742 #DBD673
Accessibility & contrast
On white
2.66
#A9A22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A9A22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A22B
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A22B | 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)
#B09C13
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B6978B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a9a22b; /* rgb */ color: rgb(169, 162, 43); /* oklch */ color: oklch(69.7% 0.134 106.0);
Tailwind
colors: {
custom: {
50: '#c6bd6e',
500: '#a9a22b',
950: '#000000',
},
}SCSS
$custom: #a9a22b; $custom-light: #c6bd6e; $custom-dark: #000000;
JSON
{
"hex": "#a9a22b",
"rgb": {
"r": 169,
"g": 162,
"b": 43
},
"hsl": {
"h": 56.667,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.69721,
"c": 0.13432,
"h": 106
},
"luminance": 0.3445
}Semantic roles & 50–950 ramp
primary
#A9A22B
secondary
#6D72C3
accent
#4EE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B