#A8A460#A8A460
#A8A460 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.090 H 105.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A460 |
|---|---|
| RGB | rgb(168, 164, 96) |
| HSL | hsl(57, 29%, 52%) |
| HSV | hsv(57, 43%, 66%) |
| CMYK | cmyk(0%, 2.4%, 42.9%, 34.1%) |
| CIE-LAB | lab(66.31, -8.62, 35.72) |
| CIE-LCH | lch(66.31, 36.74, 103.57°) |
| OKLab | oklab(70.65% -0.024 0.0864) |
| OKLCH | oklch(70.65% 0.09 105.5) |
| XYZ | xyz(31.5358, 35.7211, 16.2977) |
| Luminance | 0.3572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 0.60
Darkkhaki
#BDB76B
ΔE00 5.65
Dark Khaki
#9B8F55
ΔE00 6.88
Moss Green
#8A9A5B
ΔE00 7.46
Sand
#C2B280
ΔE00 7.59
Sandy Brown
#C4A661
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A460 #6064A8
analogous
#A88060 #A8A460 #88A860
triadic
#A8A460 #60A8A4 #A460A8
tetradic
#A8A460 #60A880 #6064A8 #A86088
square
#A8A460 #60A880 #6064A8 #A86088
split-complementary
#A8A460 #6088A8 #8060A8
monochromatic
#5C5932 #838048 #A8A460 #BEBB88 #D3D1AF
Accessibility & contrast
On white
2.58
#A8A460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A8A460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A460
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A460 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9F5B
Deuteranopia (green-blind)
#B0A363
Tritanopia (blue-blind)
#B19C94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a460; /* rgb */ color: rgb(168, 164, 96); /* oklch */ color: oklch(70.7% 0.090 105.5);
Tailwind
colors: {
custom: {
50: '#c3be8e',
500: '#a8a460',
950: '#000000',
},
}SCSS
$custom: #a8a460; $custom-light: #c3be8e; $custom-dark: #000000;
JSON
{
"hex": "#a8a460",
"rgb": {
"r": 168,
"g": 164,
"b": 96
},
"hsl": {
"h": 56.667,
"s": 29.268,
"l": 51.765
},
"oklch": {
"l": 0.70653,
"c": 0.0897,
"h": 105.5
},
"luminance": 0.3572
}Semantic roles & 50–950 ramp
primary
#A8A460
secondary
#A2A4C2
accent
#68C662
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D