#A6A87F#A6A87F
#A6A87F is a light, muted yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.057 H 110.1°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A87F |
|---|---|
| RGB | rgb(166, 168, 127) |
| HSL | hsl(63, 19%, 58%) |
| HSV | hsv(63, 24%, 66%) |
| CMYK | cmyk(1.2%, 0%, 24.4%, 34.1%) |
| CIE-LAB | lab(67.76, -7.63, 21.01) |
| CIE-LCH | lch(67.76, 22.36, 109.96°) |
| OKLab | oklab(71.93% -0.0194 0.0532) |
| OKLCH | oklch(71.93% 0.057 110.1) |
| XYZ | xyz(33.5592, 37.6449, 25.5729) |
| Luminance | 0.3765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 5.48
Stone (survey)
#ADA587
ΔE00 5.53
Sage Green
#9CAF88
ΔE00 5.78
Khaki (survey)
#AAA662
ΔE00 6.61
Sand
#C2B280
ΔE00 7.71
Greenish Grey
#96AE8D
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A87F #817FA8
analogous
#A8957F #A6A87F #91A87F
triadic
#A6A87F #7FA6A8 #A87FA6
tetradic
#A6A87F #7FA895 #817FA8 #A87F91
square
#A6A87F #7FA895 #817FA8 #A87F91
split-complementary
#A6A87F #7F91A8 #957FA8
monochromatic
#656746 #898B5F #A6A87F #BFC1A3 #D9DAC8
Accessibility & contrast
On white
2.46
#A6A87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#A6A87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A87F
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A87F | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA47C
Deuteranopia (green-blind)
#AFA681
Tritanopia (blue-blind)
#ACA39D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a6a87f; /* rgb */ color: rgb(166, 168, 127); /* oklch */ color: oklch(71.9% 0.057 110.1);
Tailwind
colors: {
custom: {
50: '#c0c1a4',
500: '#a6a87f',
950: '#000000',
},
}SCSS
$custom: #a6a87f; $custom-light: #c0c1a4; $custom-dark: #000000;
JSON
{
"hex": "#a6a87f",
"rgb": {
"r": 166,
"g": 168,
"b": 127
},
"hsl": {
"h": 62.927,
"s": 19.07,
"l": 57.843
},
"oklch": {
"l": 0.71934,
"c": 0.05661,
"h": 110.1
},
"luminance": 0.37645
}Semantic roles & 50–950 ramp
primary
#A6A87F
secondary
#BAB9CA
accent
#6CBC70
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#12120F
muted
#81817F