#A5A762#A5A762
#A5A762 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.1% C 0.091 H 110.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A762 |
|---|---|
| RGB | rgb(165, 167, 98) |
| HSL | hsl(62, 28%, 52%) |
| HSV | hsv(62, 41%, 65%) |
| CMYK | cmyk(1.2%, 0%, 41.3%, 34.5%) |
| CIE-LAB | lab(66.91, -11.23, 35.39) |
| CIE-LCH | lch(66.91, 37.13, 107.60°) |
| OKLab | oklab(71.08% -0.0312 0.0858) |
| OKLCH | oklch(71.08% 0.091 110) |
| XYZ | xyz(31.5408, 36.5192, 16.9403) |
| Luminance | 0.3652 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.81
Darkkhaki
#BDB76B
ΔE00 5.62
Moss Green
#8A9A5B
ΔE00 6.51
Tan Green
#A9BE70
ΔE00 7.31
Light Olive
#ACBF69
ΔE00 7.41
Dark Khaki
#9B8F55
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A762 #6462A7
analogous
#A78762 #A5A762 #83A762
triadic
#A5A762 #62A5A7 #A762A5
tetradic
#A5A762 #62A787 #6462A7 #A76283
square
#A5A762 #62A787 #6462A7 #A76283
split-complementary
#A5A762 #6283A7 #8762A7
monochromatic
#5A5B33 #818349 #A5A762 #BBBD89 #D2D3B0
Accessibility & contrast
On white
2.53
#A5A762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#A5A762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A762
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A762 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A25D
Deuteranopia (green-blind)
#B2A465
Tritanopia (blue-blind)
#AE9F96
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a5a762; /* rgb */ color: rgb(165, 167, 98); /* oklch */ color: oklch(71.1% 0.091 110.0);
Tailwind
colors: {
custom: {
50: '#c1c190',
500: '#a5a762',
950: '#000000',
},
}SCSS
$custom: #a5a762; $custom-light: #c1c190; $custom-dark: #000000;
JSON
{
"hex": "#a5a762",
"rgb": {
"r": 165,
"g": 167,
"b": 98
},
"hsl": {
"h": 61.739,
"s": 28.163,
"l": 51.961
},
"oklch": {
"l": 0.71085,
"c": 0.09131,
"h": 110
},
"luminance": 0.36519
}Semantic roles & 50–950 ramp
primary
#A5A762
secondary
#A4A3C2
accent
#63C466
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#12120C
muted
#81817D