#A8A521#A8A521
#A8A521 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.143 H 108.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A521 |
|---|---|
| RGB | rgb(168, 165, 33) |
| HSL | hsl(59, 67%, 39%) |
| HSV | hsv(59, 80%, 66%) |
| CMYK | cmyk(0%, 1.8%, 80.4%, 34.1%) |
| CIE-LAB | lab(66.02, -13.55, 62.50) |
| CIE-LCH | lch(66.02, 63.95, 102.23°) |
| OKLab | oklab(70.24% -0.0445 0.1354) |
| OKLCH | oklch(70.24% 0.143 108.2) |
| XYZ | xyz(29.8793, 35.3459, 6.6871) |
| Luminance | 0.3534 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.46
Puke
#A5A502
ΔE00 1.52
Pea Soup
#929901
ΔE00 5.02
Pea Soup Green
#94A617
ΔE00 5.17
Mustard Green
#A8B504
ΔE00 5.52
Puke Green
#9AAE07
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A521 #2124A8
analogous
#A86221 #A8A521 #67A821
triadic
#A8A521 #21A8A5 #A521A8
tetradic
#A8A521 #21A862 #2124A8 #A82167
square
#A8A521 #21A862 #2124A8 #A82167
split-complementary
#A8A521 #2167A8 #6221A8
monochromatic
#42410D #757317 #A8A521 #D6D330 #E0DE63
Accessibility & contrast
On white
2.60
#A8A521 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#A8A521 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A521
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A521 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A521 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#B59A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a521; /* rgb */ color: rgb(168, 165, 33); /* oklch */ color: oklch(70.2% 0.143 108.2);
Tailwind
colors: {
custom: {
50: '#c6bf69',
500: '#a8a521',
950: '#000000',
},
}SCSS
$custom: #a8a521; $custom-light: #c6bf69; $custom-dark: #000000;
JSON
{
"hex": "#a8a521",
"rgb": {
"r": 168,
"g": 165,
"b": 33
},
"hsl": {
"h": 58.667,
"s": 67.164,
"l": 39.412
},
"oklch": {
"l": 0.7024,
"c": 0.14251,
"h": 108.2
},
"luminance": 0.35345
}Semantic roles & 50–950 ramp
primary
#A8A521
secondary
#5F62C5
accent
#42EA3E
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A