#A5A56F#A5A56F
#A5A56F is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.073 H 108.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A56F |
|---|---|
| RGB | rgb(165, 165, 111) |
| HSL | hsl(60, 23%, 54%) |
| HSV | hsv(60, 33%, 65%) |
| CMYK | cmyk(0%, 0%, 32.7%, 35.3%) |
| CIE-LAB | lab(66.56, -8.62, 28.06) |
| CIE-LCH | lch(66.56, 29.36, 107.07°) |
| OKLab | oklab(70.87% -0.0228 0.0696) |
| OKLCH | oklch(70.87% 0.073 108.1) |
| XYZ | xyz(31.8417, 36.0578, 20.3183) |
| Luminance | 0.3606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.30
Moss Green
#8A9A5B
ΔE00 6.68
Darkkhaki
#BDB76B
ΔE00 7.04
Sand
#C2B280
ΔE00 7.34
Stone (survey)
#ADA587
ΔE00 7.35
Dark Khaki
#9B8F55
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A56F #6F6FA5
analogous
#A58A6F #A5A56F #8AA56F
triadic
#A5A56F #6FA5A5 #A56FA5
tetradic
#A5A56F #6FA58A #6F6FA5 #A56F8A
square
#A5A56F #6FA58A #6F6FA5 #A56F8A
split-complementary
#A5A56F #6F8AA5 #8A6FA5
monochromatic
#5F5F3B #848453 #A5A56F #BDBD95 #D4D4BA
Accessibility & contrast
On white
2.56
#A5A56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#A5A56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A56F
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A56F | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEA16B
Deuteranopia (green-blind)
#AEA371
Tritanopia (blue-blind)
#AC9E97
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a56f; /* rgb */ color: rgb(165, 165, 111); /* oklch */ color: oklch(70.9% 0.073 108.1);
Tailwind
colors: {
custom: {
50: '#c0bf99',
500: '#a5a56f',
950: '#000000',
},
}SCSS
$custom: #a5a56f; $custom-light: #c0bf99; $custom-dark: #000000;
JSON
{
"hex": "#a5a56f",
"rgb": {
"r": 165,
"g": 165,
"b": 111
},
"hsl": {
"h": 60,
"s": 23.077,
"l": 54.118
},
"oklch": {
"l": 0.70873,
"c": 0.07321,
"h": 108.1
},
"luminance": 0.36057
}Semantic roles & 50–950 ramp
primary
#A5A56F
secondary
#ACACC3
accent
#68C068
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E