#A8A762#A8A762
#A8A762 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.3% C 0.091 H 107.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A762 |
|---|---|
| RGB | rgb(168, 167, 98) |
| HSL | hsl(59, 29%, 52%) |
| HSV | hsv(59, 42%, 66%) |
| CMYK | cmyk(0%, 0.6%, 41.7%, 34.1%) |
| CIE-LAB | lab(67.16, -9.99, 35.75) |
| CIE-LCH | lch(67.16, 37.12, 105.61°) |
| OKLab | oklab(71.34% -0.0278 0.0866) |
| OKLCH | oklch(71.34% 0.091 107.8) |
| XYZ | xyz(32.1723, 36.8448, 16.9699) |
| Luminance | 0.3684 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 0.93
Darkkhaki
#BDB76B
ΔE00 5.13
Moss Green
#8A9A5B
ΔE00 7.25
Sand
#C2B280
ΔE00 7.77
Light Olive
#ACBF69
ΔE00 7.80
Tan Green
#A9BE70
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A762 #6263A8
analogous
#A88462 #A8A762 #86A862
triadic
#A8A762 #62A8A7 #A762A8
tetradic
#A8A762 #62A884 #6263A8 #A86286
square
#A8A762 #62A884 #6263A8 #A86286
split-complementary
#A8A762 #6286A8 #8462A8
monochromatic
#5C5C33 #848349 #A8A762 #BEBD89 #D4D3B1
Accessibility & contrast
On white
2.51
#A8A762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#A8A762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A762
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A762 | 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)
#B1A25D
Deuteranopia (green-blind)
#B3A565
Tritanopia (blue-blind)
#B19F96
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a8a762; /* rgb */ color: rgb(168, 167, 98); /* oklch */ color: oklch(71.3% 0.091 107.8);
Tailwind
colors: {
custom: {
50: '#c3c190',
500: '#a8a762',
950: '#000000',
},
}SCSS
$custom: #a8a762; $custom-light: #c3c190; $custom-dark: #000000;
JSON
{
"hex": "#a8a762",
"rgb": {
"r": 168,
"g": 167,
"b": 98
},
"hsl": {
"h": 59.143,
"s": 28.689,
"l": 52.157
},
"oklch": {
"l": 0.71341,
"c": 0.09095,
"h": 107.8
},
"luminance": 0.36844
}Semantic roles & 50–950 ramp
primary
#A8A762
secondary
#A4A4C2
accent
#64C563
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D