#A8A862#A8A862
#A8A862 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.092 H 108.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A862 |
|---|---|
| RGB | rgb(168, 168, 98) |
| HSL | hsl(60, 29%, 52%) |
| HSV | hsv(60, 42%, 66%) |
| CMYK | cmyk(0%, 0%, 41.7%, 34.1%) |
| CIE-LAB | lab(67.44, -10.52, 36.10) |
| CIE-LCH | lch(67.44, 37.60, 106.25°) |
| OKLab | oklab(71.56% -0.0293 0.0874) |
| OKLCH | oklch(71.56% 0.092 108.5) |
| XYZ | xyz(32.3562, 37.2126, 17.0312) |
| Luminance | 0.3721 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.28
Darkkhaki
#BDB76B
ΔE00 4.98
Moss Green
#8A9A5B
ΔE00 7.25
Light Olive
#ACBF69
ΔE00 7.41
Tan Green
#A9BE70
ΔE00 7.42
Sand
#C2B280
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A862 #6262A8
analogous
#A88562 #A8A862 #85A862
triadic
#A8A862 #62A8A8 #A862A8
tetradic
#A8A862 #62A885 #6262A8 #A86285
square
#A8A862 #62A885 #6262A8 #A86285
split-complementary
#A8A862 #6285A8 #8562A8
monochromatic
#5C5C33 #848449 #A8A862 #BEBE89 #D4D4B1
Accessibility & contrast
On white
2.49
#A8A862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#A8A862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A862
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A862 | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A35C
Deuteranopia (green-blind)
#B3A665
Tritanopia (blue-blind)
#B1A097
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8a862; /* rgb */ color: rgb(168, 168, 98); /* oklch */ color: oklch(71.6% 0.092 108.5);
Tailwind
colors: {
custom: {
50: '#c3c190',
500: '#a8a862',
950: '#000000',
},
}SCSS
$custom: #a8a862; $custom-light: #c3c190; $custom-dark: #000000;
JSON
{
"hex": "#a8a862",
"rgb": {
"r": 168,
"g": 168,
"b": 98
},
"hsl": {
"h": 60,
"s": 28.689,
"l": 52.157
},
"oklch": {
"l": 0.7156,
"c": 0.09216,
"h": 108.5
},
"luminance": 0.37212
}Semantic roles & 50–950 ramp
primary
#A8A862
secondary
#A4A4C2
accent
#63C563
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D