#A7AB2A#A7AB2A
#A7AB2A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.5% C 0.144 H 111.4°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AB2A |
|---|---|
| RGB | rgb(167, 171, 42) |
| HSL | hsl(62, 61%, 42%) |
| HSV | hsv(62, 75%, 67%) |
| CMYK | cmyk(2.3%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(67.66, -16.72, 61.17) |
| CIE-LCH | lch(67.66, 63.41, 105.29°) |
| OKLab | oklab(71.55% -0.0525 0.1343) |
| OKLCH | oklch(71.55% 0.144 111.4) |
| XYZ | xyz(30.9182, 37.5093, 7.8014) |
| Luminance | 0.3751 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.31
Puke
#A5A502
ΔE00 2.73
Puke Green
#9AAE07
ΔE00 3.75
Mustard Green
#A8B504
ΔE00 3.76
Pea Soup Green
#94A617
ΔE00 3.97
Barf Green
#94AC02
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AB2A #2E2AAB
analogous
#AB6E2A #A7AB2A #67AB2A
triadic
#A7AB2A #2AA7AB #AB2AA7
tetradic
#A7AB2A #2AAB6E #2E2AAB #AB2A67
square
#A7AB2A #2AAB6E #2E2AAB #AB2A67
split-complementary
#A7AB2A #2A67AB #6E2AAB
monochromatic
#474912 #777A1E #A7AB2A #CCD142 #D9DD73
Accessibility & contrast
On white
2.47
#A7AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#A7AB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AB2A
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AB2A | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A30B
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a7ab2a; /* rgb */ color: rgb(167, 171, 42); /* oklch */ color: oklch(71.5% 0.144 111.4);
Tailwind
colors: {
custom: {
50: '#c5c36e',
500: '#a7ab2a',
950: '#000000',
},
}SCSS
$custom: #a7ab2a; $custom-light: #c5c36e; $custom-dark: #000000;
JSON
{
"hex": "#a7ab2a",
"rgb": {
"r": 167,
"g": 171,
"b": 42
},
"hsl": {
"h": 61.86,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.71545,
"c": 0.14417,
"h": 111.4
},
"luminance": 0.37508
}Semantic roles & 50–950 ramp
primary
#A7AB2A
secondary
#706DC4
accent
#44E449
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B