#A7AB2B#A7AB2B
#A7AB2B is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.6% C 0.144 H 111.4°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AB2B |
|---|---|
| RGB | rgb(167, 171, 43) |
| HSL | hsl(62, 60%, 42%) |
| HSV | hsv(62, 75%, 67%) |
| CMYK | cmyk(2.3%, 0%, 74.9%, 32.9%) |
| CIE-LAB | lab(67.66, -16.68, 60.84) |
| CIE-LCH | lch(67.66, 63.09, 105.33°) |
| OKLab | oklab(71.55% -0.0523 0.1338) |
| OKLCH | oklch(71.55% 0.144 111.4) |
| XYZ | xyz(30.9364, 37.5165, 7.8968) |
| Luminance | 0.3752 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.36
Puke
#A5A502
ΔE00 2.80
Puke Green
#9AAE07
ΔE00 3.78
Mustard Green
#A8B504
ΔE00 3.81
Pea Soup Green
#94A617
ΔE00 3.97
Barf Green
#94AC02
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AB2B #2F2BAB
analogous
#AB6F2B #A7AB2B #67AB2B
triadic
#A7AB2B #2BA7AB #AB2BA7
tetradic
#A7AB2B #2BAB6F #2F2BAB #AB2B67
square
#A7AB2B #2BAB6F #2F2BAB #AB2B67
split-complementary
#A7AB2B #2B67AB #6F2BAB
monochromatic
#474912 #777A1F #A7AB2B #CBD043 #D9DC74
Accessibility & contrast
On white
2.47
#A7AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#A7AB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AB2B
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AB2B | 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)
#B9A30E
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a7ab2b; /* rgb */ color: rgb(167, 171, 43); /* oklch */ color: oklch(71.6% 0.144 111.4);
Tailwind
colors: {
custom: {
50: '#c5c36f',
500: '#a7ab2b',
950: '#000000',
},
}SCSS
$custom: #a7ab2b; $custom-light: #c5c36f; $custom-dark: #000000;
JSON
{
"hex": "#a7ab2b",
"rgb": {
"r": 167,
"g": 171,
"b": 43
},
"hsl": {
"h": 61.875,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.71551,
"c": 0.14361,
"h": 111.4
},
"luminance": 0.37516
}Semantic roles & 50–950 ramp
primary
#A7AB2B
secondary
#716EC4
accent
#45E34A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B