#A2A787#A2A787
#A2A787 is a light, muted yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.045 H 114.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A787 |
|---|---|
| RGB | rgb(162, 167, 135) |
| HSL | hsl(69, 15%, 59%) |
| HSV | hsv(69, 19%, 65%) |
| CMYK | cmyk(3%, 0%, 19.2%, 34.5%) |
| CIE-LAB | lab(67.33, -7.43, 15.99) |
| CIE-LCH | lch(67.33, 17.63, 114.91°) |
| OKLab | oklab(71.57% -0.0189 0.041) |
| OKLCH | oklch(71.57% 0.045 114.8) |
| XYZ | xyz(33.0918, 37.0683, 28.3286) |
| Luminance | 0.3707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sage Green
#9CAF88
ΔE00 5.16
Bland
#AFA88B
ΔE00 5.50
Stone (survey)
#ADA587
ΔE00 5.75
Cement
#A5A391
ΔE00 6.02
Greenish Grey
#96AE8D
ΔE00 6.37
Greyish
#A8A495
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A787 #8C87A7
analogous
#A79C87 #A2A787 #92A787
triadic
#A2A787 #87A2A7 #A787A2
tetradic
#A2A787 #87A79C #8C87A7 #A78792
square
#A2A787 #87A79C #8C87A7 #A78792
split-complementary
#A2A787 #8792A7 #9C87A7
monochromatic
#63684C #858B66 #A2A787 #BDC1AA #D9DBCE
Accessibility & contrast
On white
2.50
#A2A787 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#A2A787 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A787
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A787 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A787 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ACA485
Deuteranopia (green-blind)
#ACA488
Tritanopia (blue-blind)
#A6A39E
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2a787; /* rgb */ color: rgb(162, 167, 135); /* oklch */ color: oklch(71.6% 0.045 114.8);
Tailwind
colors: {
custom: {
50: '#bdc1aa',
500: '#a2a787',
950: '#000000',
},
}SCSS
$custom: #a2a787; $custom-light: #bdc1aa; $custom-dark: #000000;
JSON
{
"hex": "#a2a787",
"rgb": {
"r": 162,
"g": 167,
"b": 135
},
"hsl": {
"h": 69.375,
"s": 15.385,
"l": 59.216
},
"oklch": {
"l": 0.71569,
"c": 0.0451,
"h": 114.8
},
"luminance": 0.37068
}Semantic roles & 50–950 ramp
primary
#A2A787
secondary
#C1BFCB
accent
#70B87B
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#121210
muted
#81817F