#A4A22A#A4A22A
#A4A22A is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.136 H 108.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A22A |
|---|---|
| RGB | rgb(164, 162, 42) |
| HSL | hsl(59, 59%, 40%) |
| HSV | hsv(59, 74%, 64%) |
| CMYK | cmyk(0%, 1.2%, 74.4%, 35.7%) |
| CIE-LAB | lab(64.88, -13.39, 58.49) |
| CIE-LCH | lch(64.88, 60.00, 102.90°) |
| OKLab | oklab(69.27% -0.0431 0.1287) |
| OKLCH | oklch(69.27% 0.136 108.5) |
| XYZ | xyz(28.6492, 33.9013, 7.2245) |
| Luminance | 0.3390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.84
Puke
#A5A502
ΔE00 2.56
Pea Soup
#929901
ΔE00 4.27
Baby Poop Green
#8F9805
ΔE00 4.82
Pea Soup Green
#94A617
ΔE00 4.85
Puke Green
#9AAE07
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A22A #2A2CA4
analogous
#A4652A #A4A22A #69A42A
triadic
#A4A22A #2AA4A2 #A22AA4
tetradic
#A4A22A #2AA465 #2A2CA4 #A42A69
square
#A4A22A #2AA465 #2A2CA4 #A42A69
split-complementary
#A4A22A #2A69A4 #652AA4
monochromatic
#434211 #73721E #A4A22A #CDCB3E #DAD86E
Accessibility & contrast
On white
2.70
#A4A22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#A4A22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A22A
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A22A | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B11
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B0978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a4a22a; /* rgb */ color: rgb(164, 162, 42); /* oklch */ color: oklch(69.3% 0.136 108.5);
Tailwind
colors: {
custom: {
50: '#c2bd6d',
500: '#a4a22a',
950: '#000000',
},
}SCSS
$custom: #a4a22a; $custom-light: #c2bd6d; $custom-dark: #000000;
JSON
{
"hex": "#a4a22a",
"rgb": {
"r": 164,
"g": 162,
"b": 42
},
"hsl": {
"h": 59.016,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.69268,
"c": 0.1357,
"h": 108.5
},
"luminance": 0.339
}Semantic roles & 50–950 ramp
primary
#A4A22A
secondary
#696AC1
accent
#48E245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A