#A4A22F#A4A22F
#A4A22F is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.133 H 108.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A22F |
|---|---|
| RGB | rgb(164, 162, 47) |
| HSL | hsl(59, 55%, 41%) |
| HSV | hsv(59, 71%, 64%) |
| CMYK | cmyk(0%, 1.2%, 71.3%, 35.7%) |
| CIE-LAB | lab(64.91, -13.15, 56.71) |
| CIE-LCH | lch(64.91, 58.22, 103.06°) |
| OKLab | oklab(69.3% -0.0419 0.1259) |
| OKLCH | oklch(69.3% 0.133 108.4) |
| XYZ | xyz(28.7443, 33.9393, 7.7256) |
| Luminance | 0.3394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.27
Puke
#A5A502
ΔE00 3.03
Pea Soup
#929901
ΔE00 4.45
Pea Soup Green
#94A617
ΔE00 4.93
Baby Poop Green
#8F9805
ΔE00 4.95
Puke Green
#9AAE07
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A22F #2F31A4
analogous
#A4682F #A4A22F #6CA42F
triadic
#A4A22F #2FA4A2 #A22FA4
tetradic
#A4A22F #2FA468 #2F31A4 #A42F6C
square
#A4A22F #2FA468 #2F31A4 #A42F6C
split-complementary
#A4A22F #2F6CA4 #682FA4
monochromatic
#454414 #747321 #A4A22F #CAC846 #D8D676
Accessibility & contrast
On white
2.70
#A4A22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#A4A22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A22F
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A22F | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#B0978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a4a22f; /* rgb */ color: rgb(164, 162, 47); /* oklch */ color: oklch(69.3% 0.133 108.4);
Tailwind
colors: {
custom: {
50: '#c2bd6f',
500: '#a4a22f',
950: '#000000',
},
}SCSS
$custom: #a4a22f; $custom-light: #c2bd6f; $custom-dark: #000000;
JSON
{
"hex": "#a4a22f",
"rgb": {
"r": 164,
"g": 162,
"b": 47
},
"hsl": {
"h": 58.974,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.69302,
"c": 0.13264,
"h": 108.4
},
"luminance": 0.33938
}Semantic roles & 50–950 ramp
primary
#A4A22F
secondary
#6F71C0
accent
#4CDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B