#A7AB31#A7AB31
#A7AB31 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.140 H 111.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AB31 |
|---|---|
| RGB | rgb(167, 171, 49) |
| HSL | hsl(62, 55%, 43%) |
| HSV | hsv(62, 71%, 67%) |
| CMYK | cmyk(2.3%, 0%, 71.3%, 32.9%) |
| CIE-LAB | lab(67.70, -16.39, 58.76) |
| CIE-LCH | lch(67.70, 61.01, 105.59°) |
| OKLab | oklab(71.59% -0.0509 0.1304) |
| OKLCH | oklch(71.59% 0.14 111.3) |
| XYZ | xyz(31.0547, 37.5639, 8.5198) |
| Luminance | 0.3756 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.69
Puke
#A5A502
ΔE00 3.25
Puke Green
#9AAE07
ΔE00 4.00
Pea Soup Green
#94A617
ΔE00 4.04
Mustard Green
#A8B504
ΔE00 4.16
Barf Green
#94AC02
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AB31 #3531AB
analogous
#AB7231 #A7AB31 #6AAB31
triadic
#A7AB31 #31A7AB #AB31A7
tetradic
#A7AB31 #31AB72 #3531AB #AB316A
square
#A7AB31 #31AB72 #3531AB #AB316A
split-complementary
#A7AB31 #316AAB #7231AB
monochromatic
#4A4C16 #797B23 #A7AB31 #C8CC4D #D7DA7D
Accessibility & contrast
On white
2.47
#A7AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#A7AB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AB31
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AB31 | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a7ab31; /* rgb */ color: rgb(167, 171, 49); /* oklch */ color: oklch(71.6% 0.140 111.3);
Tailwind
colors: {
custom: {
50: '#c4c372',
500: '#a7ab31',
950: '#000000',
},
}SCSS
$custom: #a7ab31; $custom-light: #c4c372; $custom-dark: #000000;
JSON
{
"hex": "#a7ab31",
"rgb": {
"r": 167,
"g": 171,
"b": 49
},
"hsl": {
"h": 61.967,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.7159,
"c": 0.14003,
"h": 111.3
},
"luminance": 0.37563
}Semantic roles & 50–950 ramp
primary
#A7AB31
secondary
#7875C2
accent
#49DF4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B