#A8A671#A8A671
#A8A671 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.072 H 106.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A671 |
|---|---|
| RGB | rgb(168, 166, 113) |
| HSL | hsl(58, 24%, 55%) |
| HSV | hsv(58, 33%, 66%) |
| CMYK | cmyk(0%, 1.2%, 32.7%, 34.1%) |
| CIE-LAB | lab(67.12, -7.68, 27.77) |
| CIE-LCH | lch(67.12, 28.81, 105.47°) |
| OKLab | oklab(71.38% -0.0201 0.0689) |
| OKLCH | oklch(71.38% 0.072 106.2) |
| XYZ | xyz(32.7656, 36.7901, 20.9947) |
| Luminance | 0.3679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.27
Sand
#C2B280
ΔE00 6.54
Darkkhaki
#BDB76B
ΔE00 6.70
Stone (survey)
#ADA587
ΔE00 6.82
Bland
#AFA88B
ΔE00 7.08
Moss Green
#8A9A5B
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A671 #7173A8
analogous
#A88A71 #A8A671 #8FA871
triadic
#A8A671 #71A8A6 #A671A8
tetradic
#A8A671 #71A88A #7173A8 #A8718F
square
#A8A671 #71A88A #7173A8 #A8718F
split-complementary
#A8A671 #718FA8 #8A71A8
monochromatic
#62613C #888654 #A8A671 #BFBE97 #D7D6BD
Accessibility & contrast
On white
2.51
#A8A671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#A8A671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A671
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A671 | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA26D
Deuteranopia (green-blind)
#B0A573
Tritanopia (blue-blind)
#B09F98
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a8a671; /* rgb */ color: rgb(168, 166, 113); /* oklch */ color: oklch(71.4% 0.072 106.2);
Tailwind
colors: {
custom: {
50: '#c2c09a',
500: '#a8a671',
950: '#000000',
},
}SCSS
$custom: #a8a671; $custom-light: #c2c09a; $custom-dark: #000000;
JSON
{
"hex": "#a8a671",
"rgb": {
"r": 168,
"g": 166,
"b": 113
},
"hsl": {
"h": 57.818,
"s": 24.017,
"l": 55.098
},
"oklch": {
"l": 0.71384,
"c": 0.07181,
"h": 106.2
},
"luminance": 0.3679
}Semantic roles & 50–950 ramp
primary
#A8A671
secondary
#AFB0C6
accent
#6BC067
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E