#A7A261#A7A261
#A7A261 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.086 H 104.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A261 |
|---|---|
| RGB | rgb(167, 162, 97) |
| HSL | hsl(56, 28%, 52%) |
| HSV | hsv(56, 42%, 65%) |
| CMYK | cmyk(0%, 3%, 41.9%, 34.5%) |
| CIE-LAB | lab(65.69, -7.87, 34.40) |
| CIE-LCH | lch(65.69, 35.29, 102.88°) |
| OKLab | oklab(70.15% -0.0217 0.0835) |
| OKLCH | oklch(70.15% 0.086 104.6) |
| XYZ | xyz(31.0149, 34.9200, 16.4134) |
| Luminance | 0.3492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.27
Dark Khaki
#9B8F55
ΔE00 6.18
Darkkhaki
#BDB76B
ΔE00 6.26
Moss Green
#8A9A5B
ΔE00 7.35
Sand
#C2B280
ΔE00 7.51
Sandy Brown
#C4A661
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A261 #6166A7
analogous
#A77F61 #A7A261 #89A761
triadic
#A7A261 #61A7A2 #A261A7
tetradic
#A7A261 #61A77F #6166A7 #A76189
square
#A7A261 #61A77F #6166A7 #A76189
split-complementary
#A7A261 #6189A7 #7F61A7
monochromatic
#5B5833 #827E49 #A7A261 #BDB988 #D3D0B0
Accessibility & contrast
On white
2.63
#A7A261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#A7A261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A261
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A261 | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9E5C
Deuteranopia (green-blind)
#AEA164
Tritanopia (blue-blind)
#B09A92
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a7a261; /* rgb */ color: rgb(167, 162, 97); /* oklch */ color: oklch(70.1% 0.086 104.6);
Tailwind
colors: {
custom: {
50: '#c2bd8f',
500: '#a7a261',
950: '#000000',
},
}SCSS
$custom: #a7a261; $custom-light: #c2bd8f; $custom-dark: #000000;
JSON
{
"hex": "#a7a261",
"rgb": {
"r": 167,
"g": 162,
"b": 97
},
"hsl": {
"h": 55.714,
"s": 28.455,
"l": 51.765
},
"oklch": {
"l": 0.70145,
"c": 0.08629,
"h": 104.6
},
"luminance": 0.34919
}Semantic roles & 50–950 ramp
primary
#A7A261
secondary
#A3A5C1
accent
#6AC563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D