#A6A464#A6A464
#A6A464 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.5% C 0.085 H 106.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A464 |
|---|---|
| RGB | rgb(166, 164, 100) |
| HSL | hsl(58, 27%, 52%) |
| HSV | hsv(58, 40%, 65%) |
| CMYK | cmyk(0%, 1.2%, 39.8%, 34.9%) |
| CIE-LAB | lab(66.20, -9.01, 33.45) |
| CIE-LCH | lch(66.20, 34.64, 105.07°) |
| OKLab | oklab(70.54% -0.0247 0.0815) |
| OKLCH | oklch(70.54% 0.085 106.8) |
| XYZ | xyz(31.3021, 35.5787, 17.2726) |
| Luminance | 0.3558 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.22
Darkkhaki
#BDB76B
ΔE00 6.06
Moss Green
#8A9A5B
ΔE00 6.79
Dark Khaki
#9B8F55
ΔE00 6.94
Sand
#C2B280
ΔE00 7.64
Tan Green
#A9BE70
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A464 #6466A6
analogous
#A68364 #A6A464 #87A664
triadic
#A6A464 #64A6A4 #A464A6
tetradic
#A6A464 #64A683 #6466A6 #A66487
square
#A6A464 #64A683 #6466A6 #A66487
split-complementary
#A6A464 #6487A6 #8364A6
monochromatic
#5B5A34 #82804B #A6A464 #BCBB8B #D3D2B2
Accessibility & contrast
On white
2.59
#A6A464 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#A6A464 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A464
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A464 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A464 | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5F
Deuteranopia (green-blind)
#AFA267
Tritanopia (blue-blind)
#AF9C94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a464; /* rgb */ color: rgb(166, 164, 100); /* oklch */ color: oklch(70.5% 0.085 106.8);
Tailwind
colors: {
custom: {
50: '#c1be91',
500: '#a6a464',
950: '#000000',
},
}SCSS
$custom: #a6a464; $custom-light: #c1be91; $custom-dark: #000000;
JSON
{
"hex": "#a6a464",
"rgb": {
"r": 166,
"g": 164,
"b": 100
},
"hsl": {
"h": 58.182,
"s": 27.049,
"l": 52.157
},
"oklch": {
"l": 0.70544,
"c": 0.0852,
"h": 106.8
},
"luminance": 0.35578
}Semantic roles & 50–950 ramp
primary
#A6A464
secondary
#A4A5C1
accent
#67C364
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120D
muted
#81817D