#A4A221#A4A221
#A4A221 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.140 H 108.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A221 |
|---|---|
| RGB | rgb(164, 162, 33) |
| HSL | hsl(59, 66%, 39%) |
| HSV | hsv(59, 80%, 64%) |
| CMYK | cmyk(0%, 1.2%, 79.9%, 35.7%) |
| CIE-LAB | lab(64.84, -13.76, 61.33) |
| CIE-LCH | lch(64.84, 62.86, 102.64°) |
| OKLab | oklab(69.22% -0.0448 0.1331) |
| OKLCH | oklch(69.22% 0.14 108.6) |
| XYZ | xyz(28.5058, 33.8439, 6.4695) |
| Luminance | 0.3384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.29
Puke
#A5A502
ΔE00 1.86
Pea Soup
#929901
ΔE00 4.10
Baby Poop Green
#8F9805
ΔE00 4.73
Pea Soup Green
#94A617
ΔE00 4.82
Puke Green
#9AAE07
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A221 #2123A4
analogous
#A46021 #A4A221 #64A421
triadic
#A4A221 #21A4A2 #A221A4
tetradic
#A4A221 #21A460 #2123A4 #A42164
square
#A4A221 #21A460 #2123A4 #A42164
split-complementary
#A4A221 #2164A4 #6021A4
monochromatic
#3E3D0C #717017 #A4A221 #D5D22D #DFDD60
Accessibility & contrast
On white
2.70
#A4A221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#A4A221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A221
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A221 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#B0978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a4a221; /* rgb */ color: rgb(164, 162, 33); /* oklch */ color: oklch(69.2% 0.140 108.6);
Tailwind
colors: {
custom: {
50: '#c3bd69',
500: '#a4a221',
950: '#000000',
},
}SCSS
$custom: #a4a221; $custom-light: #c3bd69; $custom-dark: #000000;
JSON
{
"hex": "#a4a221",
"rgb": {
"r": 164,
"g": 162,
"b": 33
},
"hsl": {
"h": 59.084,
"s": 66.497,
"l": 38.627
},
"oklch": {
"l": 0.69217,
"c": 0.14042,
"h": 108.6
},
"luminance": 0.33843
}Semantic roles & 50–950 ramp
primary
#A4A221
secondary
#5D5EC4
accent
#41E93E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A