#A8A04E#A8A04E
#A8A04E is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.5% C 0.105 H 103.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A04E |
|---|---|
| RGB | rgb(168, 160, 78) |
| HSL | hsl(55, 37%, 48%) |
| HSV | hsv(55, 54%, 66%) |
| CMYK | cmyk(0%, 4.8%, 53.6%, 34.1%) |
| CIE-LAB | lab(64.98, -8.24, 43.23) |
| CIE-LCH | lch(64.98, 44.01, 100.80°) |
| OKLab | oklab(69.52% -0.0248 0.1016) |
| OKLCH | oklch(69.52% 0.105 103.7) |
| XYZ | xyz(30.0953, 34.0175, 12.1870) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.39
Dark Khaki
#9B8F55
ΔE00 6.70
Vomit
#A2A415
ΔE00 6.72
Darkkhaki
#BDB76B
ΔE00 6.75
Puke
#A5A502
ΔE00 7.35
Pea Soup
#929901
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A04E #4E56A8
analogous
#A8734E #A8A04E #83A84E
triadic
#A8A04E #4EA8A0 #A04EA8
tetradic
#A8A04E #4EA873 #4E56A8 #A84E83
square
#A8A04E #4EA873 #4E56A8 #A84E83
split-complementary
#A8A04E #4E83A8 #734EA8
monochromatic
#545027 #7E783B #A8A04E #BFB875 #D2CD9E
Accessibility & contrast
On white
2.69
#A8A04E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#A8A04E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A04E
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A04E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A04E | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9B46
Deuteranopia (green-blind)
#AFA052
Tritanopia (blue-blind)
#B3978D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a04e; /* rgb */ color: rgb(168, 160, 78); /* oklch */ color: oklch(69.5% 0.105 103.7);
Tailwind
colors: {
custom: {
50: '#c4bb82',
500: '#a8a04e',
950: '#000000',
},
}SCSS
$custom: #a8a04e; $custom-light: #c4bb82; $custom-dark: #000000;
JSON
{
"hex": "#a8a04e",
"rgb": {
"r": 168,
"g": 160,
"b": 78
},
"hsl": {
"h": 54.667,
"s": 36.585,
"l": 48.235
},
"oklch": {
"l": 0.69522,
"c": 0.10453,
"h": 103.7
},
"luminance": 0.34017
}Semantic roles & 50–950 ramp
primary
#A8A04E
secondary
#9397BF
accent
#65CD5B
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13110B
muted
#82807C