#A5A974#A5A974
#A5A974 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.072 H 111.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A974 |
|---|---|
| RGB | rgb(165, 169, 116) |
| HSL | hsl(65, 24%, 56%) |
| HSV | hsv(65, 31%, 66%) |
| CMYK | cmyk(2.4%, 0%, 31.4%, 33.7%) |
| CIE-LAB | lab(67.75, -10.08, 26.95) |
| CIE-LCH | lch(67.75, 28.77, 110.52°) |
| OKLab | oklab(71.84% -0.0267 0.0671) |
| OKLCH | oklch(71.84% 0.072 111.7) |
| XYZ | xyz(32.8575, 37.6366, 22.0533) |
| Luminance | 0.3764 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.30
Sage Green
#9CAF88
ΔE00 6.36
Moss Green
#8A9A5B
ΔE00 6.77
Darkkhaki
#BDB76B
ΔE00 7.07
Tan Green
#A9BE70
ΔE00 7.58
Sand
#C2B280
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A974 #7874A9
analogous
#A99274 #A5A974 #8AA974
triadic
#A5A974 #74A5A9 #A974A5
tetradic
#A5A974 #74A992 #7874A9 #A9748A
square
#A5A974 #74A992 #7874A9 #A9748A
split-complementary
#A5A974 #748AA9 #9274A9
monochromatic
#62643E #868A56 #A5A974 #BDC09A #D6D8C0
Accessibility & contrast
On white
2.46
#A5A974 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#A5A974 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A974
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A974 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A974 | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A470
Deuteranopia (green-blind)
#B1A676
Tritanopia (blue-blind)
#ACA39B
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a5a974; /* rgb */ color: rgb(165, 169, 116); /* oklch */ color: oklch(71.8% 0.072 111.7);
Tailwind
colors: {
custom: {
50: '#c0c29c',
500: '#a5a974',
950: '#000000',
},
}SCSS
$custom: #a5a974; $custom-light: #c0c29c; $custom-dark: #000000;
JSON
{
"hex": "#a5a974",
"rgb": {
"r": 165,
"g": 169,
"b": 116
},
"hsl": {
"h": 64.528,
"s": 23.556,
"l": 55.882
},
"oklch": {
"l": 0.71844,
"c": 0.07223,
"h": 111.7
},
"luminance": 0.37636
}Semantic roles & 50–950 ramp
primary
#A5A974
secondary
#B3B1C7
accent
#68C06E
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E