#A8A562#A8A562
#A8A562 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.089 H 106.2°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A562 |
|---|---|
| RGB | rgb(168, 165, 98) |
| HSL | hsl(57, 29%, 52%) |
| HSV | hsv(57, 42%, 66%) |
| CMYK | cmyk(0%, 1.8%, 41.7%, 34.1%) |
| CIE-LAB | lab(66.61, -8.94, 35.06) |
| CIE-LCH | lch(66.61, 36.18, 104.30°) |
| OKLab | oklab(70.9% -0.0247 0.0851) |
| OKLCH | oklch(70.9% 0.089 106.2) |
| XYZ | xyz(31.8087, 36.1177, 16.8487) |
| Luminance | 0.3612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 0.51
Darkkhaki
#BDB76B
ΔE00 5.51
Dark Khaki
#9B8F55
ΔE00 7.18
Moss Green
#8A9A5B
ΔE00 7.32
Sand
#C2B280
ΔE00 7.50
Tan Green
#A9BE70
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A562 #6265A8
analogous
#A88262 #A8A562 #88A862
triadic
#A8A562 #62A8A5 #A562A8
tetradic
#A8A562 #62A882 #6265A8 #A86288
square
#A8A562 #62A882 #6265A8 #A86288
split-complementary
#A8A562 #6288A8 #8262A8
monochromatic
#5C5B33 #848149 #A8A562 #BEBC89 #D4D2B1
Accessibility & contrast
On white
2.55
#A8A562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#A8A562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A562
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A562 | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA05D
Deuteranopia (green-blind)
#B1A365
Tritanopia (blue-blind)
#B19D95
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a562; /* rgb */ color: rgb(168, 165, 98); /* oklch */ color: oklch(70.9% 0.089 106.2);
Tailwind
colors: {
custom: {
50: '#c3bf90',
500: '#a8a562',
950: '#000000',
},
}SCSS
$custom: #a8a562; $custom-light: #c3bf90; $custom-dark: #000000;
JSON
{
"hex": "#a8a562",
"rgb": {
"r": 168,
"g": 165,
"b": 98
},
"hsl": {
"h": 57.429,
"s": 28.689,
"l": 52.157
},
"oklch": {
"l": 0.70903,
"c": 0.08858,
"h": 106.2
},
"luminance": 0.36117
}Semantic roles & 50–950 ramp
primary
#A8A562
secondary
#A4A5C2
accent
#67C563
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D