#A4AB31#A4AB31
#A4AB31 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.141 H 112.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AB31 |
|---|---|
| RGB | rgb(164, 171, 49) |
| HSL | hsl(63, 55%, 43%) |
| HSV | hsv(63, 71%, 67%) |
| CMYK | cmyk(4.1%, 0%, 71.3%, 32.9%) |
| CIE-LAB | lab(67.46, -17.69, 58.45) |
| CIE-LCH | lch(67.46, 61.06, 106.84°) |
| OKLab | oklab(71.34% -0.0544 0.1299) |
| OKLCH | oklch(71.34% 0.141 112.7) |
| XYZ | xyz(30.4281, 37.2408, 8.4904) |
| Luminance | 0.3724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.94
Pea Soup Green
#94A617
ΔE00 3.42
Puke Green
#9AAE07
ΔE00 3.48
Puke
#A5A502
ΔE00 3.64
Mustard Green
#A8B504
ΔE00 4.12
Barf Green
#94AC02
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AB31 #3831AB
analogous
#AB7531 #A4AB31 #67AB31
triadic
#A4AB31 #31A4AB #AB31A4
tetradic
#A4AB31 #31AB75 #3831AB #AB3167
square
#A4AB31 #31AB75 #3831AB #AB3167
split-complementary
#A4AB31 #3167AB #7531AB
monochromatic
#494C16 #767B23 #A4AB31 #C5CC4D #D4DA7D
Accessibility & contrast
On white
2.49
#A4AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#A4AB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AB31
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AB31 | 1.00 | 2.49 | 8.45 | 8.45 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#AFA193
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a4ab31; /* rgb */ color: rgb(164, 171, 49); /* oklch */ color: oklch(71.3% 0.141 112.7);
Tailwind
colors: {
custom: {
50: '#c2c371',
500: '#a4ab31',
950: '#000000',
},
}SCSS
$custom: #a4ab31; $custom-light: #c2c371; $custom-dark: #000000;
JSON
{
"hex": "#a4ab31",
"rgb": {
"r": 164,
"g": 171,
"b": 49
},
"hsl": {
"h": 63.443,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.71339,
"c": 0.1408,
"h": 112.7
},
"luminance": 0.3724
}Semantic roles & 50–950 ramp
primary
#A4AB31
secondary
#7A75C2
accent
#49DF52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B