#A8A462#A8A462
#A8A462 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.087 H 105.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A462 |
|---|---|
| RGB | rgb(168, 164, 98) |
| HSL | hsl(57, 29%, 52%) |
| HSV | hsv(57, 42%, 66%) |
| CMYK | cmyk(0%, 2.4%, 41.7%, 34.1%) |
| CIE-LAB | lab(66.33, -8.41, 34.71) |
| CIE-LCH | lch(66.33, 35.71, 103.61°) |
| OKLab | oklab(70.69% -0.0232 0.0843) |
| OKLCH | oklch(70.69% 0.087 105.4) |
| XYZ | xyz(31.6291, 35.7584, 16.7888) |
| Luminance | 0.3576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 0.68
Darkkhaki
#BDB76B
ΔE00 5.73
Dark Khaki
#9B8F55
ΔE00 6.82
Sand
#C2B280
ΔE00 7.39
Moss Green
#8A9A5B
ΔE00 7.40
Sandy Brown
#C4A661
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A462 #6266A8
analogous
#A88162 #A8A462 #89A862
triadic
#A8A462 #62A8A4 #A462A8
tetradic
#A8A462 #62A881 #6266A8 #A86289
square
#A8A462 #62A881 #6266A8 #A86289
split-complementary
#A8A462 #6289A8 #8162A8
monochromatic
#5C5A33 #848049 #A8A462 #BEBB89 #D4D2B1
Accessibility & contrast
On white
2.58
#A8A462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A8A462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A462
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A462 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#B0A365
Tritanopia (blue-blind)
#B19C94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a462; /* rgb */ color: rgb(168, 164, 98); /* oklch */ color: oklch(70.7% 0.087 105.4);
Tailwind
colors: {
custom: {
50: '#c3be90',
500: '#a8a462',
950: '#000000',
},
}SCSS
$custom: #a8a462; $custom-light: #c3be90; $custom-dark: #000000;
JSON
{
"hex": "#a8a462",
"rgb": {
"r": 168,
"g": 164,
"b": 98
},
"hsl": {
"h": 56.571,
"s": 28.689,
"l": 52.157
},
"oklch": {
"l": 0.70685,
"c": 0.08741,
"h": 105.4
},
"luminance": 0.35758
}Semantic roles & 50–950 ramp
primary
#A8A462
secondary
#A4A5C2
accent
#68C563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D