#A6A563#A6A563
#A6A563 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.088 H 107.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A563 |
|---|---|
| RGB | rgb(166, 165, 99) |
| HSL | hsl(59, 27%, 52%) |
| HSV | hsv(59, 40%, 65%) |
| CMYK | cmyk(0%, 0.6%, 40.4%, 34.9%) |
| CIE-LAB | lab(66.46, -9.65, 34.31) |
| CIE-LCH | lch(66.46, 35.64, 105.71°) |
| OKLab | oklab(70.75% -0.0266 0.0834) |
| OKLCH | oklch(70.75% 0.088 107.7) |
| XYZ | xyz(31.4336, 35.9188, 17.0791) |
| Luminance | 0.3592 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.12
Darkkhaki
#BDB76B
ΔE00 5.81
Moss Green
#8A9A5B
ΔE00 6.75
Dark Khaki
#9B8F55
ΔE00 7.33
Sand
#C2B280
ΔE00 7.84
Tan Green
#A9BE70
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A563 #6364A6
analogous
#A68463 #A6A563 #86A663
triadic
#A6A563 #63A6A5 #A563A6
tetradic
#A6A563 #63A684 #6364A6 #A66386
square
#A6A563 #63A684 #6364A6 #A66386
split-complementary
#A6A563 #6386A6 #8463A6
monochromatic
#5B5A34 #82814A #A6A563 #BCBB8A #D2D2B1
Accessibility & contrast
On white
2.57
#A6A563 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#A6A563 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A563
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A563 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A563 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA05E
Deuteranopia (green-blind)
#B0A366
Tritanopia (blue-blind)
#AF9D95
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a6a563; /* rgb */ color: rgb(166, 165, 99); /* oklch */ color: oklch(70.7% 0.088 107.7);
Tailwind
colors: {
custom: {
50: '#c1bf90',
500: '#a6a563',
950: '#000000',
},
}SCSS
$custom: #a6a563; $custom-light: #c1bf90; $custom-dark: #000000;
JSON
{
"hex": "#a6a563",
"rgb": {
"r": 166,
"g": 165,
"b": 99
},
"hsl": {
"h": 59.104,
"s": 27.347,
"l": 51.961
},
"oklch": {
"l": 0.70747,
"c": 0.08757,
"h": 107.7
},
"luminance": 0.35918
}Semantic roles & 50–950 ramp
primary
#A6A563
secondary
#A4A4C1
accent
#66C464
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#12120C
muted
#81817D