#A5A266#A5A266
#A5A266 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.1% C 0.080 H 105.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A266 |
|---|---|
| RGB | rgb(165, 162, 102) |
| HSL | hsl(57, 26%, 52%) |
| HSV | hsv(57, 38%, 65%) |
| CMYK | cmyk(0%, 1.8%, 38.2%, 35.3%) |
| CIE-LAB | lab(65.59, -8.13, 31.61) |
| CIE-LCH | lch(65.59, 32.63, 104.42°) |
| OKLab | oklab(70.05% -0.022 0.0774) |
| OKLCH | oklch(70.05% 0.08 105.8) |
| XYZ | xyz(30.8361, 34.8000, 17.6605) |
| Luminance | 0.3480 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.00
Dark Khaki
#9B8F55
ΔE00 6.30
Moss Green
#8A9A5B
ΔE00 6.72
Darkkhaki
#BDB76B
ΔE00 6.76
Sand
#C2B280
ΔE00 7.52
Stone (survey)
#ADA587
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A266 #6669A5
analogous
#A58366 #A5A266 #89A566
triadic
#A5A266 #66A5A2 #A266A5
tetradic
#A5A266 #66A583 #6669A5 #A56689
square
#A5A266 #66A583 #6669A5 #A56689
split-complementary
#A5A266 #6689A5 #8366A5
monochromatic
#5B5936 #827F4C #A5A266 #BCB98D #D2D1B3
Accessibility & contrast
On white
2.64
#A5A266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#A5A266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A266
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A266 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9E62
Deuteranopia (green-blind)
#ADA168
Tritanopia (blue-blind)
#AE9B93
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a266; /* rgb */ color: rgb(165, 162, 102); /* oklch */ color: oklch(70.1% 0.080 105.8);
Tailwind
colors: {
custom: {
50: '#c1bd92',
500: '#a5a266',
950: '#000000',
},
}SCSS
$custom: #a5a266; $custom-light: #c1bd92; $custom-dark: #000000;
JSON
{
"hex": "#a5a266",
"rgb": {
"r": 165,
"g": 162,
"b": 102
},
"hsl": {
"h": 57.143,
"s": 25.926,
"l": 52.353
},
"oklch": {
"l": 0.70054,
"c": 0.08048,
"h": 105.8
},
"luminance": 0.34799
}Semantic roles & 50–950 ramp
primary
#A5A266
secondary
#A6A7C1
accent
#6AC265
background
#FBFBF9
surface
#F7F6F1
border
#D0D0CB
text
#12120D
muted
#81817E