#A5A256#A5A256
#A5A256 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.099 H 106.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A256 |
|---|---|
| RGB | rgb(165, 162, 86) |
| HSL | hsl(58, 31%, 49%) |
| HSV | hsv(58, 48%, 65%) |
| CMYK | cmyk(0%, 1.8%, 47.9%, 35.3%) |
| CIE-LAB | lab(65.37, -9.84, 39.64) |
| CIE-LCH | lch(65.37, 40.84, 103.95°) |
| OKLab | oklab(69.8% -0.0283 0.0945) |
| OKLCH | oklch(69.8% 0.099 106.7) |
| XYZ | xyz(30.1178, 34.5127, 13.8774) |
| Luminance | 0.3451 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.05
Darkkhaki
#BDB76B
ΔE00 6.28
Dark Khaki
#9B8F55
ΔE00 6.88
Moss Green
#8A9A5B
ΔE00 7.32
Vomit
#A2A415
ΔE00 7.52
Puke
#A5A502
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A256 #5659A5
analogous
#A57B56 #A5A256 #81A556
triadic
#A5A256 #56A5A2 #A256A5
tetradic
#A5A256 #56A57B #5659A5 #A55681
square
#A5A256 #56A57B #5659A5 #A55681
split-complementary
#A5A256 #5681A5 #7B56A5
monochromatic
#55532C #7D7B41 #A5A256 #BBB97D #D0CFA5
Accessibility & contrast
On white
2.66
#A5A256 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#A5A256 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A256
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A256 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A256 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9D4F
Deuteranopia (green-blind)
#AFA05A
Tritanopia (blue-blind)
#AF9990
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a256; /* rgb */ color: rgb(165, 162, 86); /* oklch */ color: oklch(69.8% 0.099 106.7);
Tailwind
colors: {
custom: {
50: '#c1bd87',
500: '#a5a256',
950: '#000000',
},
}SCSS
$custom: #a5a256; $custom-light: #c1bd87; $custom-dark: #000000;
JSON
{
"hex": "#a5a256",
"rgb": {
"r": 165,
"g": 162,
"b": 86
},
"hsl": {
"h": 57.722,
"s": 31.474,
"l": 49.216
},
"oklch": {
"l": 0.69802,
"c": 0.09863,
"h": 106.7
},
"luminance": 0.34512
}Semantic roles & 50–950 ramp
primary
#A5A256
secondary
#999ABE
accent
#64C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120B
muted
#81817C