#A7AB27#A7AB27
#A7AB27 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.5% C 0.146 H 111.4°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AB27 |
|---|---|
| RGB | rgb(167, 171, 39) |
| HSL | hsl(62, 63%, 41%) |
| HSV | hsv(62, 77%, 67%) |
| CMYK | cmyk(2.3%, 0%, 77.2%, 32.9%) |
| CIE-LAB | lab(67.64, -16.85, 62.12) |
| CIE-LCH | lch(67.64, 64.36, 105.17°) |
| OKLab | oklab(71.53% -0.0531 0.1357) |
| OKLCH | oklch(71.53% 0.146 111.4) |
| XYZ | xyz(30.8665, 37.4886, 7.5291) |
| Luminance | 0.3749 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.20
Puke
#A5A502
ΔE00 2.55
Mustard Green
#A8B504
ΔE00 3.62
Puke Green
#9AAE07
ΔE00 3.68
Pea Soup Green
#94A617
ΔE00 3.98
Barf Green
#94AC02
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AB27 #2B27AB
analogous
#AB6D27 #A7AB27 #65AB27
triadic
#A7AB27 #27A7AB #AB27A7
tetradic
#A7AB27 #27AB6D #2B27AB #AB2765
square
#A7AB27 #27AB6D #2B27AB #AB2765
split-complementary
#A7AB27 #2765AB #6D27AB
monochromatic
#464710 #76791C #A7AB27 #CED33D #DBDE6E
Accessibility & contrast
On white
2.47
#A7AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#A7AB27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AB27
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AB27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AB27 | 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)
#B9A301
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#B3A092
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a7ab27; /* rgb */ color: rgb(167, 171, 39); /* oklch */ color: oklch(71.5% 0.146 111.4);
Tailwind
colors: {
custom: {
50: '#c5c36d',
500: '#a7ab27',
950: '#000000',
},
}SCSS
$custom: #a7ab27; $custom-light: #c5c36d; $custom-dark: #000000;
JSON
{
"hex": "#a7ab27",
"rgb": {
"r": 167,
"g": 171,
"b": 39
},
"hsl": {
"h": 61.818,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.71528,
"c": 0.14576,
"h": 111.4
},
"luminance": 0.37488
}Semantic roles & 50–950 ramp
primary
#A7AB27
secondary
#6C69C5
accent
#42E647
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B