#A8A646#A8A646
#A8A646 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 70.7% C 0.118 H 108.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A646 |
|---|---|
| RGB | rgb(168, 166, 70) |
| HSL | hsl(59, 41%, 47%) |
| HSV | hsv(59, 58%, 66%) |
| CMYK | cmyk(0%, 1.2%, 58.3%, 34.1%) |
| CIE-LAB | lab(66.55, -12.05, 48.84) |
| CIE-LCH | lch(66.55, 50.30, 103.86°) |
| OKLab | oklab(70.75% -0.0365 0.1127) |
| OKLCH | oklch(70.75% 0.118 108) |
| XYZ | xyz(30.8911, 36.0403, 11.1224) |
| Luminance | 0.3604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.61
Khaki (survey)
#AAA662
ΔE00 4.63
Puke
#A5A502
ΔE00 5.32
Pea Soup Green
#94A617
ΔE00 6.12
Darkkhaki
#BDB76B
ΔE00 6.27
Pea Soup
#929901
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A646 #4648A8
analogous
#A87546 #A8A646 #79A846
triadic
#A8A646 #46A8A6 #A646A8
tetradic
#A8A646 #46A875 #4648A8 #A84679
square
#A8A646 #46A875 #4648A8 #A84679
split-complementary
#A8A646 #4679A8 #7546A8
monochromatic
#525122 #7D7B34 #A8A646 #C1BF6A #D3D295
Accessibility & contrast
On white
2.56
#A8A646 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A8A646 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A646
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A646 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A646 | 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)
#B3A03C
Deuteranopia (green-blind)
#B4A44B
Tritanopia (blue-blind)
#B39C91
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a646; /* rgb */ color: rgb(168, 166, 70); /* oklch */ color: oklch(70.7% 0.118 108.0);
Tailwind
colors: {
custom: {
50: '#c4c07d',
500: '#a8a646',
950: '#000000',
},
}SCSS
$custom: #a8a646; $custom-light: #c4c07d; $custom-dark: #000000;
JSON
{
"hex": "#a8a646",
"rgb": {
"r": 168,
"g": 166,
"b": 70
},
"hsl": {
"h": 58.776,
"s": 41.176,
"l": 46.667
},
"oklch": {
"l": 0.70748,
"c": 0.11845,
"h": 108
},
"luminance": 0.36039
}Semantic roles & 50–950 ramp
primary
#A8A646
secondary
#8B8CBF
accent
#59D157
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C