#A7A87F#A7A87F
#A7A87F is a light, muted yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.057 H 108.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A87F |
|---|---|
| RGB | rgb(167, 168, 127) |
| HSL | hsl(61, 19%, 58%) |
| HSV | hsv(61, 24%, 66%) |
| CMYK | cmyk(0.6%, 0%, 24.4%, 34.1%) |
| CIE-LAB | lab(67.84, -7.24, 21.14) |
| CIE-LCH | lch(67.84, 22.34, 108.91°) |
| OKLab | oklab(72.02% -0.0183 0.0535) |
| OKLCH | oklch(72.02% 0.057 108.9) |
| XYZ | xyz(33.7697, 37.7535, 25.5827) |
| Luminance | 0.3775 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 5.19
Stone (survey)
#ADA587
ΔE00 5.23
Sage Green
#9CAF88
ΔE00 6.12
Khaki (survey)
#AAA662
ΔE00 6.49
Sand
#C2B280
ΔE00 7.38
Cement
#A5A391
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A87F #807FA8
analogous
#A8947F #A7A87F #92A87F
triadic
#A7A87F #7FA7A8 #A87FA7
tetradic
#A7A87F #7FA894 #807FA8 #A87F92
square
#A7A87F #7FA894 #807FA8 #A87F92
split-complementary
#A7A87F #7F92A8 #947FA8
monochromatic
#666746 #8A8B5F #A7A87F #C0C1A3 #D9DAC8
Accessibility & contrast
On white
2.46
#A7A87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#A7A87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A87F
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A87F | 1.00 | 2.46 | 8.55 | 8.55 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA47C
Deuteranopia (green-blind)
#AFA681
Tritanopia (blue-blind)
#ADA39D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a7a87f; /* rgb */ color: rgb(167, 168, 127); /* oklch */ color: oklch(72.0% 0.057 108.9);
Tailwind
colors: {
custom: {
50: '#c1c1a4',
500: '#a7a87f',
950: '#000000',
},
}SCSS
$custom: #a7a87f; $custom-light: #c1c1a4; $custom-dark: #000000;
JSON
{
"hex": "#a7a87f",
"rgb": {
"r": 167,
"g": 168,
"b": 127
},
"hsl": {
"h": 61.463,
"s": 19.07,
"l": 57.843
},
"oklch": {
"l": 0.72018,
"c": 0.05652,
"h": 108.9
},
"luminance": 0.37753
}Semantic roles & 50–950 ramp
primary
#A7A87F
secondary
#BAB9CA
accent
#6CBC6E
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#12120F
muted
#81817F