#A8A87F#A8A87F
#A8A87F is a light, muted yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.056 H 107.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A87F |
|---|---|
| RGB | rgb(168, 168, 127) |
| HSL | hsl(60, 19%, 58%) |
| HSV | hsv(60, 24%, 66%) |
| CMYK | cmyk(0%, 0%, 24.4%, 34.1%) |
| CIE-LAB | lab(67.92, -6.85, 21.26) |
| CIE-LCH | lch(67.92, 22.34, 107.86°) |
| OKLab | oklab(72.1% -0.0172 0.0538) |
| OKLCH | oklch(72.1% 0.056 107.7) |
| XYZ | xyz(33.9818, 37.8629, 25.5927) |
| Luminance | 0.3786 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 4.92
Stone (survey)
#ADA587
ΔE00 4.94
Khaki (survey)
#AAA662
ΔE00 6.40
Sage Green
#9CAF88
ΔE00 6.48
Sand
#C2B280
ΔE00 7.06
Putty
#BEAE8A
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A87F #7F7FA8
analogous
#A8937F #A8A87F #93A87F
triadic
#A8A87F #7FA8A8 #A87FA8
tetradic
#A8A87F #7FA893 #7F7FA8 #A87F93
square
#A8A87F #7FA893 #7F7FA8 #A87F93
split-complementary
#A8A87F #7F93A8 #937FA8
monochromatic
#676746 #8B8B5F #A8A87F #C1C1A3 #DADAC8
Accessibility & contrast
On white
2.45
#A8A87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#A8A87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A87F
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A87F | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA57C
Deuteranopia (green-blind)
#B0A681
Tritanopia (blue-blind)
#AEA39D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a8a87f; /* rgb */ color: rgb(168, 168, 127); /* oklch */ color: oklch(72.1% 0.056 107.7);
Tailwind
colors: {
custom: {
50: '#c2c1a4',
500: '#a8a87f',
950: '#000000',
},
}SCSS
$custom: #a8a87f; $custom-light: #c2c1a4; $custom-dark: #000000;
JSON
{
"hex": "#a8a87f",
"rgb": {
"r": 168,
"g": 168,
"b": 127
},
"hsl": {
"h": 60,
"s": 19.07,
"l": 57.843
},
"oklch": {
"l": 0.72102,
"c": 0.05645,
"h": 107.7
},
"luminance": 0.37862
}Semantic roles & 50–950 ramp
primary
#A8A87F
secondary
#B9B9CA
accent
#6CBC6C
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#12120F
muted
#81817F