#A4A522#A4A522
#A4A522 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.143 H 110.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A522 |
|---|---|
| RGB | rgb(164, 165, 34) |
| HSL | hsl(60, 66%, 39%) |
| HSV | hsv(60, 79%, 65%) |
| CMYK | cmyk(0.6%, 0%, 79.4%, 35.3%) |
| CIE-LAB | lab(65.69, -15.27, 61.79) |
| CIE-LCH | lch(65.69, 63.65, 103.89°) |
| OKLab | oklab(69.9% -0.049 0.1342) |
| OKLCH | oklch(69.9% 0.143 110.1) |
| XYZ | xyz(29.0548, 34.9191, 6.7226) |
| Luminance | 0.3492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.84
Puke
#A5A502
ΔE00 1.65
Pea Soup Green
#94A617
ΔE00 4.09
Pea Soup
#929901
ΔE00 4.40
Puke Green
#9AAE07
ΔE00 4.69
Baby Poop Green
#8F9805
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A522 #2322A5
analogous
#A56522 #A4A522 #63A522
triadic
#A4A522 #22A4A5 #A522A4
tetradic
#A4A522 #22A565 #2322A5 #A52263
square
#A4A522 #22A565 #2322A5 #A52263
split-complementary
#A4A522 #2263A5 #6522A5
monochromatic
#3F400D #727218 #A4A522 #D3D430 #DEDF63
Accessibility & contrast
On white
2.63
#A4A522 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#A4A522 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A522
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A522 | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#B09A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a4a522; /* rgb */ color: rgb(164, 165, 34); /* oklch */ color: oklch(69.9% 0.143 110.1);
Tailwind
colors: {
custom: {
50: '#c3bf6a',
500: '#a4a522',
950: '#000000',
},
}SCSS
$custom: #a4a522; $custom-light: #c3bf6a; $custom-dark: #000000;
JSON
{
"hex": "#a4a522",
"rgb": {
"r": 164,
"g": 165,
"b": 34
},
"hsl": {
"h": 60.458,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.69895,
"c": 0.14289,
"h": 110.1
},
"luminance": 0.34918
}Semantic roles & 50–950 ramp
primary
#A4A522
secondary
#605FC4
accent
#3FE940
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A