#A8A721#A8A721
#A8A721 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.144 H 109.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A721 |
|---|---|
| RGB | rgb(168, 167, 33) |
| HSL | hsl(60, 67%, 39%) |
| HSV | hsv(60, 80%, 66%) |
| CMYK | cmyk(0%, 0.6%, 80.4%, 34.1%) |
| CIE-LAB | lab(66.58, -14.58, 62.99) |
| CIE-LCH | lch(66.58, 64.66, 103.03°) |
| OKLab | oklab(70.69% -0.0473 0.1364) |
| OKLCH | oklch(70.69% 0.144 109.1) |
| XYZ | xyz(30.2429, 36.0730, 6.8083) |
| Luminance | 0.3607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.36
Puke
#A5A502
ΔE00 1.45
Pea Soup Green
#94A617
ΔE00 4.77
Mustard Green
#A8B504
ΔE00 4.82
Puke Green
#9AAE07
ΔE00 4.94
Pea Soup
#929901
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A721 #2122A8
analogous
#A86421 #A8A721 #65A821
triadic
#A8A721 #21A8A7 #A721A8
tetradic
#A8A721 #21A864 #2122A8 #A82165
square
#A8A721 #21A864 #2122A8 #A82165
split-complementary
#A8A721 #2165A8 #6421A8
monochromatic
#42410D #757417 #A8A721 #D6D530 #E0DF63
Accessibility & contrast
On white
2.56
#A8A721 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A8A721 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A721
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A721 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A721 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#B59C8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a721; /* rgb */ color: rgb(168, 167, 33); /* oklch */ color: oklch(70.7% 0.144 109.1);
Tailwind
colors: {
custom: {
50: '#c6c06a',
500: '#a8a721',
950: '#000000',
},
}SCSS
$custom: #a8a721; $custom-light: #c6c06a; $custom-dark: #000000;
JSON
{
"hex": "#a8a721",
"rgb": {
"r": 168,
"g": 167,
"b": 33
},
"hsl": {
"h": 59.556,
"s": 67.164,
"l": 39.412
},
"oklch": {
"l": 0.70687,
"c": 0.14443,
"h": 109.1
},
"luminance": 0.36072
}Semantic roles & 50–950 ramp
primary
#A8A721
secondary
#5F60C5
accent
#3FEA3E
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A