#A5A562#A5A562
#A5A562 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.6% C 0.089 H 108.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A562 |
|---|---|
| RGB | rgb(165, 165, 98) |
| HSL | hsl(60, 27%, 52%) |
| HSV | hsv(60, 41%, 65%) |
| CMYK | cmyk(0%, 0%, 40.6%, 35.3%) |
| CIE-LAB | lab(66.36, -10.18, 34.69) |
| CIE-LCH | lch(66.36, 36.15, 106.35°) |
| OKLab | oklab(70.65% -0.0281 0.0843) |
| OKLCH | oklch(70.65% 0.089 108.5) |
| XYZ | xyz(31.1772, 35.7921, 16.8191) |
| Luminance | 0.3579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.36
Darkkhaki
#BDB76B
ΔE00 5.90
Moss Green
#8A9A5B
ΔE00 6.51
Dark Khaki
#9B8F55
ΔE00 7.46
Tan Green
#A9BE70
ΔE00 8.07
Sand
#C2B280
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A562 #6262A5
analogous
#A58462 #A5A562 #84A562
triadic
#A5A562 #62A5A5 #A562A5
tetradic
#A5A562 #62A584 #6262A5 #A56284
square
#A5A562 #62A584 #6262A5 #A56284
split-complementary
#A5A562 #6284A5 #8462A5
monochromatic
#595933 #80804A #A5A562 #BBBB89 #D2D2B0
Accessibility & contrast
On white
2.57
#A5A562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#A5A562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A562
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A562 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA05D
Deuteranopia (green-blind)
#B0A365
Tritanopia (blue-blind)
#AE9D95
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a562; /* rgb */ color: rgb(165, 165, 98); /* oklch */ color: oklch(70.6% 0.089 108.5);
Tailwind
colors: {
custom: {
50: '#c1bf90',
500: '#a5a562',
950: '#000000',
},
}SCSS
$custom: #a5a562; $custom-light: #c1bf90; $custom-dark: #000000;
JSON
{
"hex": "#a5a562",
"rgb": {
"r": 165,
"g": 165,
"b": 98
},
"hsl": {
"h": 60,
"s": 27.126,
"l": 51.569
},
"oklch": {
"l": 0.70645,
"c": 0.08883,
"h": 108.5
},
"luminance": 0.35791
}Semantic roles & 50–950 ramp
primary
#A5A562
secondary
#A3A3C0
accent
#64C364
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#12120C
muted
#81817D