#A7AB28#A7AB28
#A7AB28 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.5% C 0.145 H 111.4°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AB28 |
|---|---|
| RGB | rgb(167, 171, 40) |
| HSL | hsl(62, 62%, 41%) |
| HSV | hsv(62, 77%, 67%) |
| CMYK | cmyk(2.3%, 0%, 76.6%, 32.9%) |
| CIE-LAB | lab(67.65, -16.81, 61.81) |
| CIE-LCH | lch(67.65, 64.05, 105.21°) |
| OKLab | oklab(71.53% -0.0529 0.1353) |
| OKLCH | oklch(71.53% 0.145 111.4) |
| XYZ | xyz(30.8833, 37.4953, 7.6175) |
| Luminance | 0.3750 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.24
Puke
#A5A502
ΔE00 2.61
Mustard Green
#A8B504
ΔE00 3.66
Puke Green
#9AAE07
ΔE00 3.70
Pea Soup Green
#94A617
ΔE00 3.97
Barf Green
#94AC02
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AB28 #2C28AB
analogous
#AB6E28 #A7AB28 #66AB28
triadic
#A7AB28 #28A7AB #AB28A7
tetradic
#A7AB28 #28AB6E #2C28AB #AB2866
square
#A7AB28 #28AB6E #2C28AB #AB2866
split-complementary
#A7AB28 #2866AB #6E28AB
monochromatic
#464811 #77791C #A7AB28 #CDD23E #DADE70
Accessibility & contrast
On white
2.47
#A7AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#A7AB28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AB28
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AB28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AB28 | 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)
#B9A304
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a7ab28; /* rgb */ color: rgb(167, 171, 40); /* oklch */ color: oklch(71.5% 0.145 111.4);
Tailwind
colors: {
custom: {
50: '#c5c36d',
500: '#a7ab28',
950: '#000000',
},
}SCSS
$custom: #a7ab28; $custom-light: #c5c36d; $custom-dark: #000000;
JSON
{
"hex": "#a7ab28",
"rgb": {
"r": 167,
"g": 171,
"b": 40
},
"hsl": {
"h": 61.832,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.71533,
"c": 0.14524,
"h": 111.4
},
"luminance": 0.37495
}Semantic roles & 50–950 ramp
primary
#A7AB28
secondary
#6D6AC4
accent
#43E548
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B