#A5A462#A5A462
#A5A462 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.4% C 0.088 H 107.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A462 |
|---|---|
| RGB | rgb(165, 164, 98) |
| HSL | hsl(59, 27%, 52%) |
| HSV | hsv(59, 41%, 65%) |
| CMYK | cmyk(0%, 0.6%, 40.6%, 35.3%) |
| CIE-LAB | lab(66.08, -9.65, 34.34) |
| CIE-LCH | lch(66.08, 35.67, 105.69°) |
| OKLab | oklab(70.43% -0.0266 0.0835) |
| OKLCH | oklch(70.43% 0.088 107.7) |
| XYZ | xyz(30.9976, 35.4328, 16.7592) |
| Luminance | 0.3543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.27
Darkkhaki
#BDB76B
ΔE00 6.08
Moss Green
#8A9A5B
ΔE00 6.56
Dark Khaki
#9B8F55
ΔE00 7.08
Sand
#C2B280
ΔE00 8.04
Tan Green
#A9BE70
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A462 #6263A5
analogous
#A58362 #A5A462 #85A562
triadic
#A5A462 #62A5A4 #A462A5
tetradic
#A5A462 #62A583 #6263A5 #A56285
square
#A5A462 #62A583 #6263A5 #A56285
split-complementary
#A5A462 #6285A5 #8362A5
monochromatic
#595933 #807F4A #A5A462 #BBBB89 #D2D1B0
Accessibility & contrast
On white
2.60
#A5A462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A5A462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A462
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A462 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#AFA265
Tritanopia (blue-blind)
#AE9C94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a462; /* rgb */ color: rgb(165, 164, 98); /* oklch */ color: oklch(70.4% 0.088 107.7);
Tailwind
colors: {
custom: {
50: '#c1be90',
500: '#a5a462',
950: '#000000',
},
}SCSS
$custom: #a5a462; $custom-light: #c1be90; $custom-dark: #000000;
JSON
{
"hex": "#a5a462",
"rgb": {
"r": 165,
"g": 164,
"b": 98
},
"hsl": {
"h": 59.104,
"s": 27.126,
"l": 51.569
},
"oklch": {
"l": 0.70425,
"c": 0.08761,
"h": 107.7
},
"luminance": 0.35432
}Semantic roles & 50–950 ramp
primary
#A5A462
secondary
#A3A3C0
accent
#66C364
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D