#A8A645#A8A645
#A8A645 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 70.7% C 0.119 H 108.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A645 |
|---|---|
| RGB | rgb(168, 166, 69) |
| HSL | hsl(59, 42%, 46%) |
| HSV | hsv(59, 59%, 66%) |
| CMYK | cmyk(0%, 1.2%, 58.9%, 34.1%) |
| CIE-LAB | lab(66.54, -12.13, 49.28) |
| CIE-LCH | lch(66.54, 50.75, 103.82°) |
| OKLab | oklab(70.74% -0.0369 0.1135) |
| OKLCH | oklch(70.74% 0.119 108) |
| XYZ | xyz(30.8598, 36.0278, 10.9575) |
| Luminance | 0.3603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.47
Khaki (survey)
#AAA662
ΔE00 4.76
Puke
#A5A502
ΔE00 5.19
Pea Soup Green
#94A617
ΔE00 6.04
Darkkhaki
#BDB76B
ΔE00 6.35
Pea Soup
#929901
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A645 #4547A8
analogous
#A87545 #A8A645 #79A845
triadic
#A8A645 #45A8A6 #A645A8
tetradic
#A8A645 #45A875 #4547A8 #A84579
square
#A8A645 #45A875 #4547A8 #A84579
split-complementary
#A8A645 #4579A8 #7545A8
monochromatic
#515021 #7D7B33 #A8A645 #C1C069 #D3D294
Accessibility & contrast
On white
2.56
#A8A645 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A8A645 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A645
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A645 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A645 | 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)
#B3A03A
Deuteranopia (green-blind)
#B4A44A
Tritanopia (blue-blind)
#B39C91
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a645; /* rgb */ color: rgb(168, 166, 69); /* oklch */ color: oklch(70.7% 0.119 108.0);
Tailwind
colors: {
custom: {
50: '#c4c07d',
500: '#a8a645',
950: '#000000',
},
}SCSS
$custom: #a8a645; $custom-light: #c4c07d; $custom-dark: #000000;
JSON
{
"hex": "#a8a645",
"rgb": {
"r": 168,
"g": 166,
"b": 69
},
"hsl": {
"h": 58.788,
"s": 41.772,
"l": 46.471
},
"oklch": {
"l": 0.70737,
"c": 0.11933,
"h": 108
},
"luminance": 0.36027
}Semantic roles & 50–950 ramp
primary
#A8A645
secondary
#8A8BBF
accent
#59D256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C