#A8A670#A8A670
#A8A670 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.073 H 106.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A670 |
|---|---|
| RGB | rgb(168, 166, 112) |
| HSL | hsl(58, 24%, 55%) |
| HSV | hsv(58, 33%, 66%) |
| CMYK | cmyk(0%, 1.2%, 33.3%, 34.1%) |
| CIE-LAB | lab(67.10, -7.81, 28.28) |
| CIE-LCH | lch(67.10, 29.34, 105.44°) |
| OKLab | oklab(71.36% -0.0205 0.0701) |
| OKLCH | oklch(71.36% 0.073 106.3) |
| XYZ | xyz(32.7096, 36.7677, 20.6999) |
| Luminance | 0.3677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.05
Darkkhaki
#BDB76B
ΔE00 6.56
Sand
#C2B280
ΔE00 6.58
Stone (survey)
#ADA587
ΔE00 7.01
Bland
#AFA88B
ΔE00 7.28
Moss Green
#8A9A5B
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A670 #7072A8
analogous
#A88A70 #A8A670 #8EA870
triadic
#A8A670 #70A8A6 #A670A8
tetradic
#A8A670 #70A88A #7072A8 #A8708E
square
#A8A670 #70A88A #7072A8 #A8708E
split-complementary
#A8A670 #708EA8 #8A70A8
monochromatic
#62613C #888653 #A8A670 #BFBE96 #D6D5BC
Accessibility & contrast
On white
2.51
#A8A670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#A8A670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A670
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A670 | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA26C
Deuteranopia (green-blind)
#B0A572
Tritanopia (blue-blind)
#B09F98
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a8a670; /* rgb */ color: rgb(168, 166, 112); /* oklch */ color: oklch(71.4% 0.073 106.3);
Tailwind
colors: {
custom: {
50: '#c2c099',
500: '#a8a670',
950: '#000000',
},
}SCSS
$custom: #a8a670; $custom-light: #c2c099; $custom-dark: #000000;
JSON
{
"hex": "#a8a670",
"rgb": {
"r": 168,
"g": 166,
"b": 112
},
"hsl": {
"h": 57.857,
"s": 24.348,
"l": 54.902
},
"oklch": {
"l": 0.71365,
"c": 0.07305,
"h": 106.3
},
"luminance": 0.36767
}Semantic roles & 50–950 ramp
primary
#A8A670
secondary
#AEAFC6
accent
#6AC167
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E