#A5A766#A5A766
#A5A766 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.2% C 0.087 H 109.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A766 |
|---|---|
| RGB | rgb(165, 167, 102) |
| HSL | hsl(62, 27%, 53%) |
| HSV | hsv(62, 39%, 65%) |
| CMYK | cmyk(1.2%, 0%, 38.9%, 34.5%) |
| CIE-LAB | lab(66.97, -10.77, 33.37) |
| CIE-LCH | lch(66.97, 35.07, 107.89°) |
| OKLab | oklab(71.15% -0.0295 0.0815) |
| OKLCH | oklch(71.15% 0.087 109.9) |
| XYZ | xyz(31.7344, 36.5966, 17.9599) |
| Luminance | 0.3660 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.99
Darkkhaki
#BDB76B
ΔE00 5.83
Moss Green
#8A9A5B
ΔE00 6.39
Tan Green
#A9BE70
ΔE00 7.37
Light Olive
#ACBF69
ΔE00 7.62
Sand
#C2B280
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A766 #6866A7
analogous
#A78866 #A5A766 #84A766
triadic
#A5A766 #66A5A7 #A766A5
tetradic
#A5A766 #66A788 #6866A7 #A76684
square
#A5A766 #66A788 #6866A7 #A76684
split-complementary
#A5A766 #6684A7 #8866A7
monochromatic
#5C5D36 #82844C #A5A766 #BCBD8D #D3D4B4
Accessibility & contrast
On white
2.52
#A5A766 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#A5A766 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A766
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A766 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A766 | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A261
Deuteranopia (green-blind)
#B1A469
Tritanopia (blue-blind)
#ADA097
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a5a766; /* rgb */ color: rgb(165, 167, 102); /* oklch */ color: oklch(71.2% 0.087 109.9);
Tailwind
colors: {
custom: {
50: '#c1c192',
500: '#a5a766',
950: '#000000',
},
}SCSS
$custom: #a5a766; $custom-light: #c1c192; $custom-dark: #000000;
JSON
{
"hex": "#a5a766",
"rgb": {
"r": 165,
"g": 167,
"b": 102
},
"hsl": {
"h": 61.846,
"s": 26.971,
"l": 52.745
},
"oklch": {
"l": 0.71151,
"c": 0.08666,
"h": 109.9
},
"luminance": 0.36596
}Semantic roles & 50–950 ramp
primary
#A5A766
secondary
#A7A6C2
accent
#64C367
background
#FBFBF9
surface
#F7F7F1
border
#D0D0CB
text
#12120D
muted
#81817E