#A5A261#A5A261
#A5A261 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.086 H 106.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A261 |
|---|---|
| RGB | rgb(165, 162, 97) |
| HSL | hsl(57, 27%, 51%) |
| HSV | hsv(57, 41%, 65%) |
| CMYK | cmyk(0%, 1.8%, 41.2%, 35.3%) |
| CIE-LAB | lab(65.52, -8.70, 34.15) |
| CIE-LCH | lch(65.52, 35.24, 104.29°) |
| OKLab | oklab(69.97% -0.024 0.083) |
| OKLCH | oklch(69.97% 0.086 106.1) |
| XYZ | xyz(30.5956, 34.7038, 16.3937) |
| Luminance | 0.3470 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.39
Dark Khaki
#9B8F55
ΔE00 6.34
Darkkhaki
#BDB76B
ΔE00 6.45
Moss Green
#8A9A5B
ΔE00 6.75
Sand
#C2B280
ΔE00 7.93
Sandy Brown
#C4A661
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A261 #6164A5
analogous
#A58061 #A5A261 #86A561
triadic
#A5A261 #61A5A2 #A261A5
tetradic
#A5A261 #61A580 #6164A5 #A56186
square
#A5A261 #61A580 #6164A5 #A56186
split-complementary
#A5A261 #6186A5 #8061A5
monochromatic
#595733 #807E49 #A5A261 #BBB988 #D1D0AF
Accessibility & contrast
On white
2.64
#A5A261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#A5A261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A261
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A261 | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9D5C
Deuteranopia (green-blind)
#AEA164
Tritanopia (blue-blind)
#AE9A92
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a261; /* rgb */ color: rgb(165, 162, 97); /* oklch */ color: oklch(70.0% 0.086 106.1);
Tailwind
colors: {
custom: {
50: '#c1bd8f',
500: '#a5a261',
950: '#000000',
},
}SCSS
$custom: #a5a261; $custom-light: #c1bd8f; $custom-dark: #000000;
JSON
{
"hex": "#a5a261",
"rgb": {
"r": 165,
"g": 162,
"b": 97
},
"hsl": {
"h": 57.353,
"s": 27.419,
"l": 51.373
},
"oklch": {
"l": 0.6997,
"c": 0.08637,
"h": 106.1
},
"luminance": 0.34703
}Semantic roles & 50–950 ramp
primary
#A5A261
secondary
#A2A3C0
accent
#68C464
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D