#A5A474#A5A474
#A5A474 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.066 H 107.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A474 |
|---|---|
| RGB | rgb(165, 164, 116) |
| HSL | hsl(59, 21%, 55%) |
| HSV | hsv(59, 30%, 65%) |
| CMYK | cmyk(0%, 0.6%, 29.7%, 35.3%) |
| CIE-LAB | lab(66.38, -7.43, 25.12) |
| CIE-LCH | lch(66.38, 26.19, 106.48°) |
| OKLab | oklab(70.75% -0.0191 0.0628) |
| OKLCH | oklch(70.75% 0.066 107) |
| XYZ | xyz(31.9450, 35.8117, 21.7491) |
| Luminance | 0.3581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.52
Stone (survey)
#ADA587
ΔE00 6.10
Bland
#AFA88B
ΔE00 6.38
Sand
#C2B280
ΔE00 7.18
Moss Green
#8A9A5B
ΔE00 7.29
Sage Green
#9CAF88
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A474 #7475A5
analogous
#A58C74 #A5A474 #8DA574
triadic
#A5A474 #74A5A4 #A474A5
tetradic
#A5A474 #74A58C #7475A5 #A5748D
square
#A5A474 #74A58C #7475A5 #A5748D
split-complementary
#A5A474 #748DA5 #8C74A5
monochromatic
#60603E #858456 #A5A474 #BDBC99 #D5D5BE
Accessibility & contrast
On white
2.57
#A5A474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#A5A474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A474
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A474 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ACA071
Deuteranopia (green-blind)
#ADA276
Tritanopia (blue-blind)
#AC9E97
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a474; /* rgb */ color: rgb(165, 164, 116); /* oklch */ color: oklch(70.8% 0.066 107.0);
Tailwind
colors: {
custom: {
50: '#c0be9c',
500: '#a5a474',
950: '#000000',
},
}SCSS
$custom: #a5a474; $custom-light: #c0be9c; $custom-dark: #000000;
JSON
{
"hex": "#a5a474",
"rgb": {
"r": 165,
"g": 164,
"b": 116
},
"hsl": {
"h": 58.776,
"s": 21.397,
"l": 55.098
},
"oklch": {
"l": 0.70752,
"c": 0.06565,
"h": 107
},
"luminance": 0.35811
}Semantic roles & 50–950 ramp
primary
#A5A474
secondary
#B0B1C5
accent
#6CBE6A
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E