#A8A545#A8A545
#A8A545 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.118 H 107.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A545 |
|---|---|
| RGB | rgb(168, 165, 69) |
| HSL | hsl(58, 42%, 46%) |
| HSV | hsv(58, 59%, 66%) |
| CMYK | cmyk(0%, 1.8%, 58.9%, 34.1%) |
| CIE-LAB | lab(66.26, -11.60, 48.98) |
| CIE-LCH | lch(66.26, 50.33, 103.33°) |
| OKLab | oklab(70.52% -0.0354 0.1128) |
| OKLCH | oklch(70.52% 0.118 107.4) |
| XYZ | xyz(30.6787, 35.6657, 10.8972) |
| Luminance | 0.3567 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.56
Khaki (survey)
#AAA662
ΔE00 4.66
Puke
#A5A502
ΔE00 5.26
Pea Soup Green
#94A617
ΔE00 6.26
Darkkhaki
#BDB76B
ΔE00 6.45
Pea Soup
#929901
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A545 #4548A8
analogous
#A87445 #A8A545 #7AA845
triadic
#A8A545 #45A8A5 #A545A8
tetradic
#A8A545 #45A874 #4548A8 #A8457A
square
#A8A545 #45A874 #4548A8 #A8457A
split-complementary
#A8A545 #457AA8 #7445A8
monochromatic
#515021 #7D7A33 #A8A545 #C1BF69 #D3D194
Accessibility & contrast
On white
2.58
#A8A545 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#A8A545 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A545
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A545 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A545 | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F3A
Deuteranopia (green-blind)
#B4A34A
Tritanopia (blue-blind)
#B39B90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a545; /* rgb */ color: rgb(168, 165, 69); /* oklch */ color: oklch(70.5% 0.118 107.4);
Tailwind
colors: {
custom: {
50: '#c4bf7c',
500: '#a8a545',
950: '#000000',
},
}SCSS
$custom: #a8a545; $custom-light: #c4bf7c; $custom-dark: #000000;
JSON
{
"hex": "#a8a545",
"rgb": {
"r": 168,
"g": 165,
"b": 69
},
"hsl": {
"h": 58.182,
"s": 41.772,
"l": 46.471
},
"oklch": {
"l": 0.70516,
"c": 0.11826,
"h": 107.4
},
"luminance": 0.35665
}Semantic roles & 50–950 ramp
primary
#A8A545
secondary
#8A8CBF
accent
#5AD256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C