#A8A45E#A8A45E
#A8A45E is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.092 H 105.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A45E |
|---|---|
| RGB | rgb(168, 164, 94) |
| HSL | hsl(57, 30%, 51%) |
| HSV | hsv(57, 44%, 66%) |
| CMYK | cmyk(0%, 2.4%, 44%, 34.1%) |
| CIE-LAB | lab(66.28, -8.84, 36.72) |
| CIE-LCH | lch(66.28, 37.77, 103.53°) |
| OKLab | oklab(70.62% -0.0248 0.0885) |
| OKLCH | oklch(70.62% 0.092 105.7) |
| XYZ | xyz(31.4449, 35.6847, 15.8189) |
| Luminance | 0.3568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 0.75
Darkkhaki
#BDB76B
ΔE00 5.60
Dark Khaki
#9B8F55
ΔE00 6.96
Moss Green
#8A9A5B
ΔE00 7.54
Sand
#C2B280
ΔE00 7.80
Sandy Brown
#C4A661
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A45E #5E62A8
analogous
#A87F5E #A8A45E #87A85E
triadic
#A8A45E #5EA8A4 #A45EA8
tetradic
#A8A45E #5EA87F #5E62A8 #A85E87
square
#A8A45E #5EA87F #5E62A8 #A85E87
split-complementary
#A8A45E #5E87A8 #7F5EA8
monochromatic
#5B5831 #827F46 #A8A45E #BDBA86 #D3D1AD
Accessibility & contrast
On white
2.58
#A8A45E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A8A45E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A45E
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A45E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A45E | 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)
#AF9F58
Deuteranopia (green-blind)
#B1A361
Tritanopia (blue-blind)
#B29C93
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a45e; /* rgb */ color: rgb(168, 164, 94); /* oklch */ color: oklch(70.6% 0.092 105.7);
Tailwind
colors: {
custom: {
50: '#c3be8d',
500: '#a8a45e',
950: '#000000',
},
}SCSS
$custom: #a8a45e; $custom-light: #c3be8d; $custom-dark: #000000;
JSON
{
"hex": "#a8a45e",
"rgb": {
"r": 168,
"g": 164,
"b": 94
},
"hsl": {
"h": 56.757,
"s": 29.839,
"l": 51.373
},
"oklch": {
"l": 0.70622,
"c": 0.09195,
"h": 105.7
},
"luminance": 0.35684
}Semantic roles & 50–950 ramp
primary
#A8A45E
secondary
#A1A2C1
accent
#67C662
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D