#A8A674#A8A674
#A8A674 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.4% C 0.068 H 106.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A674 |
|---|---|
| RGB | rgb(168, 166, 116) |
| HSL | hsl(58, 23%, 56%) |
| HSV | hsv(58, 31%, 66%) |
| CMYK | cmyk(0%, 1.2%, 31%, 34.1%) |
| CIE-LAB | lab(67.17, -7.30, 26.22) |
| CIE-LCH | lch(67.17, 27.22, 105.55°) |
| OKLab | oklab(71.44% -0.0188 0.0654) |
| OKLCH | oklch(71.44% 0.068 106.1) |
| XYZ | xyz(32.9373, 36.8588, 21.8990) |
| Luminance | 0.3686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.96
Stone (survey)
#ADA587
ΔE00 6.22
Bland
#AFA88B
ΔE00 6.46
Sand
#C2B280
ΔE00 6.48
Darkkhaki
#BDB76B
ΔE00 7.16
Moss Green
#8A9A5B
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A674 #7476A8
analogous
#A88C74 #A8A674 #90A874
triadic
#A8A674 #74A8A6 #A674A8
tetradic
#A8A674 #74A88C #7476A8 #A87490
square
#A8A674 #74A88C #7476A8 #A87490
split-complementary
#A8A674 #7490A8 #8C74A8
monochromatic
#63623E #898756 #A8A674 #C0BE9A #D7D6BF
Accessibility & contrast
On white
2.51
#A8A674 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#A8A674 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A674
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A674 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A674 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEA271
Deuteranopia (green-blind)
#B0A576
Tritanopia (blue-blind)
#AFA099
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a8a674; /* rgb */ color: rgb(168, 166, 116); /* oklch */ color: oklch(71.4% 0.068 106.1);
Tailwind
colors: {
custom: {
50: '#c2c09c',
500: '#a8a674',
950: '#000000',
},
}SCSS
$custom: #a8a674; $custom-light: #c2c09c; $custom-dark: #000000;
JSON
{
"hex": "#a8a674",
"rgb": {
"r": 168,
"g": 166,
"b": 116
},
"hsl": {
"h": 57.692,
"s": 23.009,
"l": 55.686
},
"oklch": {
"l": 0.71442,
"c": 0.06805,
"h": 106.1
},
"luminance": 0.36858
}Semantic roles & 50–950 ramp
primary
#A8A674
secondary
#B1B2C7
accent
#6CBF68
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120E
muted
#81817E