#A3A871#A3A871
#A3A871 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.075 H 112.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A3A871 |
|---|---|
| RGB | rgb(163, 168, 113) |
| HSL | hsl(65, 24%, 55%) |
| HSV | hsv(65, 33%, 66%) |
| CMYK | cmyk(3%, 0%, 32.7%, 34.1%) |
| CIE-LAB | lab(67.27, -10.75, 27.88) |
| CIE-LCH | lch(67.27, 29.88, 111.08°) |
| OKLab | oklab(71.4% -0.0287 0.0692) |
| OKLCH | oklch(71.4% 0.075 112.5) |
| XYZ | xyz(32.0876, 36.9844, 21.0679) |
| Luminance | 0.3698 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.12
Moss Green
#8A9A5B
ΔE00 6.18
Sage Green
#9CAF88
ΔE00 6.52
Darkkhaki
#BDB76B
ΔE00 7.17
Tan Green
#A9BE70
ΔE00 7.44
Light Olive
#ACBF69
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3A871 #7671A8
analogous
#A89271 #A3A871 #87A871
triadic
#A3A871 #71A3A8 #A871A3
tetradic
#A3A871 #71A892 #7671A8 #A87187
square
#A3A871 #71A892 #7671A8 #A87187
split-complementary
#A3A871 #7187A8 #9271A8
monochromatic
#5F623C #838854 #A3A871 #BCBF97 #D4D7BD
Accessibility & contrast
On white
2.50
#A3A871 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#A3A871 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3A871
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3A871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3A871 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A36D
Deuteranopia (green-blind)
#B0A473
Tritanopia (blue-blind)
#AAA29A
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a3a871; /* rgb */ color: rgb(163, 168, 113); /* oklch */ color: oklch(71.4% 0.075 112.5);
Tailwind
colors: {
custom: {
50: '#bfc19a',
500: '#a3a871',
950: '#000000',
},
}SCSS
$custom: #a3a871; $custom-light: #bfc19a; $custom-dark: #000000;
JSON
{
"hex": "#a3a871",
"rgb": {
"r": 163,
"g": 168,
"b": 113
},
"hsl": {
"h": 65.455,
"s": 24.017,
"l": 55.098
},
"oklch": {
"l": 0.71401,
"c": 0.07496,
"h": 112.5
},
"luminance": 0.36984
}Semantic roles & 50–950 ramp
primary
#A3A871
secondary
#B1AFC6
accent
#67C06F
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E