#A5A771#A5A771
#A5A771 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.3% C 0.073 H 109.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A771 |
|---|---|
| RGB | rgb(165, 167, 113) |
| HSL | hsl(62, 23%, 55%) |
| HSV | hsv(62, 32%, 65%) |
| CMYK | cmyk(1.2%, 0%, 32.3%, 34.5%) |
| CIE-LAB | lab(67.15, -9.42, 27.76) |
| CIE-LCH | lch(67.15, 29.31, 108.75°) |
| OKLab | oklab(71.35% -0.025 0.0689) |
| OKLCH | oklch(71.35% 0.073 109.9) |
| XYZ | xyz(32.3166, 36.8295, 21.0260) |
| Luminance | 0.3683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.64
Moss Green
#8A9A5B
ΔE00 6.64
Darkkhaki
#BDB76B
ΔE00 6.94
Sage Green
#9CAF88
ΔE00 7.13
Sand
#C2B280
ΔE00 7.55
Stone (survey)
#ADA587
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A771 #7371A7
analogous
#A78E71 #A5A771 #8AA771
triadic
#A5A771 #71A5A7 #A771A5
tetradic
#A5A771 #71A78E #7371A7 #A7718A
square
#A5A771 #71A78E #7371A7 #A7718A
split-complementary
#A5A771 #718AA7 #8E71A7
monochromatic
#60613C #858754 #A5A771 #BDBE97 #D5D6BD
Accessibility & contrast
On white
2.51
#A5A771 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#A5A771 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A771
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A771 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A771 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA26D
Deuteranopia (green-blind)
#B0A473
Tritanopia (blue-blind)
#ACA199
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a5a771; /* rgb */ color: rgb(165, 167, 113); /* oklch */ color: oklch(71.3% 0.073 109.9);
Tailwind
colors: {
custom: {
50: '#c0c19a',
500: '#a5a771',
950: '#000000',
},
}SCSS
$custom: #a5a771; $custom-light: #c0c19a; $custom-dark: #000000;
JSON
{
"hex": "#a5a771",
"rgb": {
"r": 165,
"g": 167,
"b": 113
},
"hsl": {
"h": 62.222,
"s": 23.478,
"l": 54.902
},
"oklch": {
"l": 0.71348,
"c": 0.07332,
"h": 109.9
},
"luminance": 0.36829
}Semantic roles & 50–950 ramp
primary
#A5A771
secondary
#AFAFC5
accent
#68C06B
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E