#A5A362#A5A362
#A5A362 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.086 H 106.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A362 |
|---|---|
| RGB | rgb(165, 163, 98) |
| HSL | hsl(58, 27%, 52%) |
| HSV | hsv(58, 41%, 65%) |
| CMYK | cmyk(0%, 1.2%, 40.6%, 35.3%) |
| CIE-LAB | lab(65.81, -9.12, 33.99) |
| CIE-LCH | lch(65.81, 35.19, 105.01°) |
| OKLab | oklab(70.21% -0.0251 0.0827) |
| OKLCH | oklch(70.21% 0.086 106.9) |
| XYZ | xyz(30.8193, 35.0762, 16.6998) |
| Luminance | 0.3508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.31
Darkkhaki
#BDB76B
ΔE00 6.28
Moss Green
#8A9A5B
ΔE00 6.63
Dark Khaki
#9B8F55
ΔE00 6.70
Sand
#C2B280
ΔE00 7.93
Tan Green
#A9BE70
ΔE00 8.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A362 #6264A5
analogous
#A58262 #A5A362 #86A562
triadic
#A5A362 #62A5A3 #A362A5
tetradic
#A5A362 #62A582 #6264A5 #A56286
square
#A5A362 #62A582 #6264A5 #A56286
split-complementary
#A5A362 #6286A5 #8262A5
monochromatic
#595833 #807F4A #A5A362 #BBBA89 #D2D1B0
Accessibility & contrast
On white
2.62
#A5A362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#A5A362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A362
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A362 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9E5D
Deuteranopia (green-blind)
#AEA165
Tritanopia (blue-blind)
#AE9B93
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a362; /* rgb */ color: rgb(165, 163, 98); /* oklch */ color: oklch(70.2% 0.086 106.9);
Tailwind
colors: {
custom: {
50: '#c1be8f',
500: '#a5a362',
950: '#000000',
},
}SCSS
$custom: #a5a362; $custom-light: #c1be8f; $custom-dark: #000000;
JSON
{
"hex": "#a5a362",
"rgb": {
"r": 165,
"g": 163,
"b": 98
},
"hsl": {
"h": 58.209,
"s": 27.126,
"l": 51.569
},
"oklch": {
"l": 0.70205,
"c": 0.0864,
"h": 106.9
},
"luminance": 0.35076
}Semantic roles & 50–950 ramp
primary
#A5A362
secondary
#A3A4C0
accent
#67C364
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D