#A9A321#A9A321
#A9A321 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.140 H 106.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A321 |
|---|---|
| RGB | rgb(169, 163, 33) |
| HSL | hsl(57, 67%, 40%) |
| HSV | hsv(57, 80%, 66%) |
| CMYK | cmyk(0%, 3.6%, 80.5%, 33.7%) |
| CIE-LAB | lab(65.55, -12.06, 62.12) |
| CIE-LCH | lch(65.55, 63.28, 100.99°) |
| OKLab | oklab(69.88% -0.0404 0.1345) |
| OKLCH | oklch(69.88% 0.14 106.7) |
| XYZ | xyz(29.7352, 34.7403, 6.5778) |
| Luminance | 0.3474 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.04
Vomit
#A2A415
ΔE00 2.12
Pea Soup
#929901
ΔE00 5.14
Muddy Yellow
#BFAC05
ΔE00 5.33
Baby Poop Green
#8F9805
ΔE00 5.81
Pea Soup Green
#94A617
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A321 #2127A9
analogous
#A95F21 #A9A321 #6BA921
triadic
#A9A321 #21A9A3 #A321A9
tetradic
#A9A321 #21A95F #2127A9 #A9216B
square
#A9A321 #21A95F #2127A9 #A9216B
split-complementary
#A9A321 #216BA9 #5F21A9
monochromatic
#43400D #767217 #A9A321 #D7CF31 #E1DB64
Accessibility & contrast
On white
2.64
#A9A321 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#A9A321 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A321
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A321 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A321 | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#B6988B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a9a321; /* rgb */ color: rgb(169, 163, 33); /* oklch */ color: oklch(69.9% 0.140 106.7);
Tailwind
colors: {
custom: {
50: '#c6bd69',
500: '#a9a321',
950: '#000000',
},
}SCSS
$custom: #a9a321; $custom-light: #c6bd69; $custom-dark: #000000;
JSON
{
"hex": "#a9a321",
"rgb": {
"r": 169,
"g": 163,
"b": 33
},
"hsl": {
"h": 57.353,
"s": 67.327,
"l": 39.608
},
"oklch": {
"l": 0.69885,
"c": 0.14047,
"h": 106.7
},
"luminance": 0.34739
}Semantic roles & 50–950 ramp
primary
#A9A321
secondary
#6064C6
accent
#45EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A