#A7AB2E#A7AB2E
#A7AB2E is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.6% C 0.142 H 111.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AB2E |
|---|---|
| RGB | rgb(167, 171, 46) |
| HSL | hsl(62, 58%, 43%) |
| HSV | hsv(62, 73%, 67%) |
| CMYK | cmyk(2.3%, 0%, 73.1%, 32.9%) |
| CIE-LAB | lab(67.68, -16.54, 59.83) |
| CIE-LCH | lch(67.68, 62.07, 105.45°) |
| OKLab | oklab(71.57% -0.0516 0.1322) |
| OKLCH | oklch(71.57% 0.142 111.3) |
| XYZ | xyz(30.9934, 37.5394, 8.1974) |
| Luminance | 0.3754 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.51
Puke
#A5A502
ΔE00 3.01
Puke Green
#9AAE07
ΔE00 3.88
Mustard Green
#A8B504
ΔE00 3.97
Pea Soup Green
#94A617
ΔE00 4.00
Barf Green
#94AC02
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AB2E #322EAB
analogous
#AB702E #A7AB2E #68AB2E
triadic
#A7AB2E #2EA7AB #AB2EA7
tetradic
#A7AB2E #2EAB70 #322EAB #AB2E68
square
#A7AB2E #2EAB70 #322EAB #AB2E68
split-complementary
#A7AB2E #2E68AB #702EAB
monochromatic
#494B14 #787B21 #A7AB2E #CACE48 #D8DB79
Accessibility & contrast
On white
2.47
#A7AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#A7AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AB2E
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AB2E | 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)
#B8A315
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a7ab2e; /* rgb */ color: rgb(167, 171, 46); /* oklch */ color: oklch(71.6% 0.142 111.3);
Tailwind
colors: {
custom: {
50: '#c5c370',
500: '#a7ab2e',
950: '#000000',
},
}SCSS
$custom: #a7ab2e; $custom-light: #c5c370; $custom-dark: #000000;
JSON
{
"hex": "#a7ab2e",
"rgb": {
"r": 167,
"g": 171,
"b": 46
},
"hsl": {
"h": 61.92,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.7157,
"c": 0.14188,
"h": 111.3
},
"luminance": 0.37539
}Semantic roles & 50–950 ramp
primary
#A7AB2E
secondary
#7472C3
accent
#47E14C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B