#A8A45A#A8A45A
#A8A45A is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.6% C 0.096 H 105.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A45A |
|---|---|
| RGB | rgb(168, 164, 90) |
| HSL | hsl(57, 31%, 51%) |
| HSV | hsv(57, 46%, 66%) |
| CMYK | cmyk(0%, 2.4%, 46.4%, 34.1%) |
| CIE-LAB | lab(66.22, -9.25, 38.71) |
| CIE-LCH | lch(66.22, 39.80, 103.43°) |
| OKLab | oklab(70.56% -0.0264 0.0927) |
| OKLCH | oklch(70.56% 0.096 105.9) |
| XYZ | xyz(31.2701, 35.6148, 14.8980) |
| Luminance | 0.3561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.33
Darkkhaki
#BDB76B
ΔE00 5.57
Dark Khaki
#9B8F55
ΔE00 7.17
Moss Green
#8A9A5B
ΔE00 7.75
Vomit
#A2A415
ΔE00 7.93
Sand
#C2B280
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A45A #5A5EA8
analogous
#A87D5A #A8A45A #85A85A
triadic
#A8A45A #5AA8A4 #A45AA8
tetradic
#A8A45A #5AA87D #5A5EA8 #A85A85
square
#A8A45A #5AA87D #5A5EA8 #A85A85
split-complementary
#A8A45A #5A85A8 #7D5AA8
monochromatic
#59572F #817E44 #A8A45A #BDBA82 #D2D0AA
Accessibility & contrast
On white
2.59
#A8A45A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#A8A45A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A45A
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A45A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A45A | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9F54
Deuteranopia (green-blind)
#B1A35D
Tritanopia (blue-blind)
#B29B92
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a45a; /* rgb */ color: rgb(168, 164, 90); /* oklch */ color: oklch(70.6% 0.096 105.9);
Tailwind
colors: {
custom: {
50: '#c3be8a',
500: '#a8a45a',
950: '#000000',
},
}SCSS
$custom: #a8a45a; $custom-light: #c3be8a; $custom-dark: #000000;
JSON
{
"hex": "#a8a45a",
"rgb": {
"r": 168,
"g": 164,
"b": 90
},
"hsl": {
"h": 56.923,
"s": 30.952,
"l": 50.588
},
"oklch": {
"l": 0.70561,
"c": 0.09637,
"h": 105.9
},
"luminance": 0.35614
}Semantic roles & 50–950 ramp
primary
#A8A45A
secondary
#9E9FC0
accent
#66C761
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D