#A6A474#A6A474
#A6A474 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.066 H 105.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A474 |
|---|---|
| RGB | rgb(166, 164, 116) |
| HSL | hsl(58, 22%, 55%) |
| HSV | hsv(58, 30%, 65%) |
| CMYK | cmyk(0%, 1.2%, 30.1%, 34.9%) |
| CIE-LAB | lab(66.46, -7.03, 25.24) |
| CIE-LCH | lch(66.46, 26.20, 105.57°) |
| OKLab | oklab(70.84% -0.018 0.0631) |
| OKLCH | oklch(70.84% 0.066 105.9) |
| XYZ | xyz(32.1539, 35.9194, 21.7589) |
| Luminance | 0.3592 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.43
Stone (survey)
#ADA587
ΔE00 5.90
Bland
#AFA88B
ΔE00 6.21
Sand
#C2B280
ΔE00 6.88
Moss Green
#8A9A5B
ΔE00 7.55
Dark Khaki
#9B8F55
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A474 #7476A6
analogous
#A68B74 #A6A474 #8FA674
triadic
#A6A474 #74A6A4 #A474A6
tetradic
#A6A474 #74A68B #7476A6 #A6748F
square
#A6A474 #74A68B #7476A6 #A6748F
split-complementary
#A6A474 #748FA6 #8B74A6
monochromatic
#61603E #878556 #A6A474 #BEBC99 #D6D5BF
Accessibility & contrast
On white
2.57
#A6A474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#A6A474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A474
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A474 | 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)
#ACA071
Deuteranopia (green-blind)
#ADA376
Tritanopia (blue-blind)
#AD9E97
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a6a474; /* rgb */ color: rgb(166, 164, 116); /* oklch */ color: oklch(70.8% 0.066 105.9);
Tailwind
colors: {
custom: {
50: '#c1be9c',
500: '#a6a474',
950: '#000000',
},
}SCSS
$custom: #a6a474; $custom-light: #c1be9c; $custom-dark: #000000;
JSON
{
"hex": "#a6a474",
"rgb": {
"r": 166,
"g": 164,
"b": 116
},
"hsl": {
"h": 57.6,
"s": 21.93,
"l": 55.294
},
"oklch": {
"l": 0.70837,
"c": 0.0656,
"h": 105.9
},
"luminance": 0.35919
}Semantic roles & 50–950 ramp
primary
#A6A474
secondary
#B0B1C5
accent
#6DBE69
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E