#A5A786#A5A786
#A5A786 is a light, muted yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.046 H 110.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A786 |
|---|---|
| RGB | rgb(165, 167, 134) |
| HSL | hsl(64, 16%, 59%) |
| HSV | hsv(64, 20%, 65%) |
| CMYK | cmyk(1.2%, 0%, 19.8%, 34.5%) |
| CIE-LAB | lab(67.55, -6.43, 16.88) |
| CIE-LCH | lch(67.55, 18.06, 110.87°) |
| OKLab | oklab(71.79% -0.016 0.0431) |
| OKLCH | oklch(71.79% 0.046 110.4) |
| XYZ | xyz(33.6386, 37.3583, 27.9884) |
| Luminance | 0.3736 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 4.41
Stone (survey)
#ADA587
ΔE00 4.62
Cement
#A5A391
ΔE00 5.68
Sage Green
#9CAF88
ΔE00 6.08
Greyish
#A8A495
ΔE00 7.34
Greenish Grey
#96AE8D
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A786 #8886A7
analogous
#A79986 #A5A786 #95A786
triadic
#A5A786 #86A5A7 #A786A5
tetradic
#A5A786 #86A799 #8886A7 #A78695
square
#A5A786 #86A799 #8886A7 #A78695
split-complementary
#A5A786 #8695A7 #9986A7
monochromatic
#66674B #898B65 #A5A786 #BFC1A9 #DADBCD
Accessibility & contrast
On white
2.48
#A5A786 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#A5A786 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A786
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A786 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A786 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ACA484
Deuteranopia (green-blind)
#ADA587
Tritanopia (blue-blind)
#AAA39E
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5a786; /* rgb */ color: rgb(165, 167, 134); /* oklch */ color: oklch(71.8% 0.046 110.4);
Tailwind
colors: {
custom: {
50: '#c0c1a9',
500: '#a5a786',
950: '#000000',
},
}SCSS
$custom: #a5a786; $custom-light: #c0c1a9; $custom-dark: #000000;
JSON
{
"hex": "#a5a786",
"rgb": {
"r": 165,
"g": 167,
"b": 134
},
"hsl": {
"h": 63.636,
"s": 15.789,
"l": 59.02
},
"oklch": {
"l": 0.71792,
"c": 0.04601,
"h": 110.4
},
"luminance": 0.37358
}Semantic roles & 50–950 ramp
primary
#A5A786
secondary
#BFBECB
accent
#6FB974
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#121210
muted
#81817F