#A8A647#A8A647
#A8A647 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.8% C 0.118 H 107.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A647 |
|---|---|
| RGB | rgb(168, 166, 71) |
| HSL | hsl(59, 41%, 47%) |
| HSV | hsv(59, 58%, 66%) |
| CMYK | cmyk(0%, 1.2%, 57.7%, 34.1%) |
| CIE-LAB | lab(66.56, -11.98, 48.39) |
| CIE-LCH | lch(66.56, 49.85, 103.90°) |
| OKLab | oklab(70.76% -0.0362 0.1118) |
| OKLCH | oklch(70.76% 0.118 107.9) |
| XYZ | xyz(30.9229, 36.0531, 11.2900) |
| Luminance | 0.3605 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.49
Vomit
#A2A415
ΔE00 4.75
Puke
#A5A502
ΔE00 5.46
Darkkhaki
#BDB76B
ΔE00 6.19
Pea Soup Green
#94A617
ΔE00 6.21
Pea Soup
#929901
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A647 #4749A8
analogous
#A87647 #A8A647 #7AA847
triadic
#A8A647 #47A8A6 #A647A8
tetradic
#A8A647 #47A876 #4749A8 #A8477A
square
#A8A647 #47A876 #4749A8 #A8477A
split-complementary
#A8A647 #477AA8 #7647A8
monochromatic
#525123 #7D7B35 #A8A647 #C1BF6C #D3D297
Accessibility & contrast
On white
2.56
#A8A647 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A8A647 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A647
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A647 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A647 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A03D
Deuteranopia (green-blind)
#B4A44C
Tritanopia (blue-blind)
#B39C91
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a647; /* rgb */ color: rgb(168, 166, 71); /* oklch */ color: oklch(70.8% 0.118 107.9);
Tailwind
colors: {
custom: {
50: '#c4c07e',
500: '#a8a647',
950: '#000000',
},
}SCSS
$custom: #a8a647; $custom-light: #c4c07e; $custom-dark: #000000;
JSON
{
"hex": "#a8a647",
"rgb": {
"r": 168,
"g": 166,
"b": 71
},
"hsl": {
"h": 58.763,
"s": 40.586,
"l": 46.863
},
"oklch": {
"l": 0.70759,
"c": 0.11756,
"h": 107.9
},
"luminance": 0.36052
}Semantic roles & 50–950 ramp
primary
#A8A647
secondary
#8C8DBF
accent
#5AD057
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C