#A7AB40#A7AB40
#A7AB40 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.7% C 0.129 H 111.3°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AB40 |
|---|---|
| RGB | rgb(167, 171, 64) |
| HSL | hsl(62, 46%, 46%) |
| HSV | hsv(62, 63%, 67%) |
| CMYK | cmyk(2.3%, 0%, 62.6%, 32.9%) |
| CIE-LAB | lab(67.81, -15.50, 52.86) |
| CIE-LCH | lch(67.81, 55.08, 106.34°) |
| OKLab | oklab(71.71% -0.0469 0.1204) |
| OKLCH | oklch(71.71% 0.129 111.3) |
| XYZ | xyz(31.4256, 37.7122, 10.4733) |
| Luminance | 0.3771 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.00
Pea Soup Green
#94A617
ΔE00 4.70
Puke
#A5A502
ΔE00 4.72
Puke Green
#9AAE07
ΔE00 5.04
Booger
#9BB53C
ΔE00 5.30
Mustard Green
#A8B504
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AB40 #4440AB
analogous
#AB7940 #A7AB40 #71AB40
triadic
#A7AB40 #40A7AB #AB40A7
tetradic
#A7AB40 #40AB79 #4440AB #AB4071
square
#A7AB40 #40AB79 #4440AB #AB4071
split-complementary
#A7AB40 #4071AB #7940AB
monochromatic
#50521F #7C7E2F #A7AB40 #C1C563 #D3D590
Accessibility & contrast
On white
2.46
#A7AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#A7AB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AB40
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AB40 | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#B8A747
Tritanopia (blue-blind)
#B2A195
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a7ab40; /* rgb */ color: rgb(167, 171, 64); /* oklch */ color: oklch(71.7% 0.129 111.3);
Tailwind
colors: {
custom: {
50: '#c4c37a',
500: '#a7ab40',
950: '#000000',
},
}SCSS
$custom: #a7ab40; $custom-light: #c4c37a; $custom-dark: #000000;
JSON
{
"hex": "#a7ab40",
"rgb": {
"r": 167,
"g": 171,
"b": 64
},
"hsl": {
"h": 62.243,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.71714,
"c": 0.12922,
"h": 111.3
},
"luminance": 0.37711
}Semantic roles & 50–950 ramp
primary
#A7AB40
secondary
#8886C1
accent
#53D557
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B