#A4AB2A#A4AB2A
#A4AB2A is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.145 H 112.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AB2A |
|---|---|
| RGB | rgb(164, 171, 42) |
| HSL | hsl(63, 61%, 42%) |
| HSV | hsv(63, 75%, 67%) |
| CMYK | cmyk(4.1%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(67.42, -18.02, 60.86) |
| CIE-LCH | lch(67.42, 63.47, 106.50°) |
| OKLab | oklab(71.29% -0.056 0.1337) |
| OKLCH | oklch(71.29% 0.145 112.7) |
| XYZ | xyz(30.2916, 37.1862, 7.7720) |
| Luminance | 0.3719 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.55
Puke Green
#9AAE07
ΔE00 3.14
Puke
#A5A502
ΔE00 3.14
Pea Soup Green
#94A617
ΔE00 3.30
Mustard Green
#A8B504
ΔE00 3.67
Barf Green
#94AC02
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AB2A #312AAB
analogous
#AB722A #A4AB2A #64AB2A
triadic
#A4AB2A #2AA4AB #AB2AA4
tetradic
#A4AB2A #2AAB72 #312AAB #AB2A64
square
#A4AB2A #2AAB72 #312AAB #AB2A64
split-complementary
#A4AB2A #2A64AB #722AAB
monochromatic
#464912 #757A1E #A4AB2A #C9D142 #D7DD73
Accessibility & contrast
On white
2.49
#A4AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#A4AB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AB2A
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AB2A | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A30B
Deuteranopia (green-blind)
#B8A635
Tritanopia (blue-blind)
#AFA093
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a4ab2a; /* rgb */ color: rgb(164, 171, 42); /* oklch */ color: oklch(71.3% 0.145 112.7);
Tailwind
colors: {
custom: {
50: '#c2c36e',
500: '#a4ab2a',
950: '#000000',
},
}SCSS
$custom: #a4ab2a; $custom-light: #c2c36e; $custom-dark: #000000;
JSON
{
"hex": "#a4ab2a",
"rgb": {
"r": 164,
"g": 171,
"b": 42
},
"hsl": {
"h": 63.256,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.71293,
"c": 0.14496,
"h": 112.7
},
"luminance": 0.37186
}Semantic roles & 50–950 ramp
primary
#A4AB2A
secondary
#726DC4
accent
#44E44D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B