#A4A821#A4A821
#A4A821 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.146 H 111.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A821 |
|---|---|
| RGB | rgb(164, 168, 33) |
| HSL | hsl(62, 67%, 39%) |
| HSV | hsv(62, 80%, 66%) |
| CMYK | cmyk(2.4%, 0%, 80.4%, 34.1%) |
| CIE-LAB | lab(66.53, -16.85, 62.82) |
| CIE-LCH | lch(66.53, 65.04, 105.01°) |
| OKLab | oklab(70.57% -0.0534 0.1363) |
| OKLCH | oklch(70.57% 0.146 111.4) |
| XYZ | xyz(29.5881, 36.0084, 6.8302) |
| Luminance | 0.3601 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.34
Puke
#A5A502
ΔE00 1.94
Pea Soup Green
#94A617
ΔE00 3.57
Puke Green
#9AAE07
ΔE00 3.74
Mustard Green
#A8B504
ΔE00 4.16
Barf Green
#94AC02
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A821 #2521A8
analogous
#A86921 #A4A821 #61A821
triadic
#A4A821 #21A4A8 #A821A4
tetradic
#A4A821 #21A869 #2521A8 #A82161
square
#A4A821 #21A869 #2521A8 #A82161
split-complementary
#A4A821 #2161A8 #6921A8
monochromatic
#40420D #727517 #A4A821 #D1D630 #DDE063
Accessibility & contrast
On white
2.56
#A4A821 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#A4A821 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A821
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A821 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A821 | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B09D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a4a821; /* rgb */ color: rgb(164, 168, 33); /* oklch */ color: oklch(70.6% 0.146 111.4);
Tailwind
colors: {
custom: {
50: '#c3c16a',
500: '#a4a821',
950: '#000000',
},
}SCSS
$custom: #a4a821; $custom-light: #c3c16a; $custom-dark: #000000;
JSON
{
"hex": "#a4a821",
"rgb": {
"r": 164,
"g": 168,
"b": 33
},
"hsl": {
"h": 61.778,
"s": 67.164,
"l": 39.412
},
"oklch": {
"l": 0.70566,
"c": 0.14636,
"h": 111.4
},
"luminance": 0.36008
}Semantic roles & 50–950 ramp
primary
#A4A821
secondary
#625FC5
accent
#3EEA43
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A