#A5A646#A5A646
#A5A646 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.119 H 109.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A646 |
|---|---|
| RGB | rgb(165, 166, 70) |
| HSL | hsl(61, 41%, 46%) |
| HSV | hsv(61, 58%, 65%) |
| CMYK | cmyk(0.6%, 0%, 57.8%, 34.9%) |
| CIE-LAB | lab(66.30, -13.34, 48.49) |
| CIE-LCH | lch(66.30, 50.29, 105.38°) |
| OKLab | oklab(70.49% -0.04 0.112) |
| OKLCH | oklch(70.49% 0.119 109.7) |
| XYZ | xyz(30.2596, 35.7147, 11.0928) |
| Luminance | 0.3571 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.65
Khaki (survey)
#AAA662
ΔE00 4.73
Puke
#A5A502
ΔE00 5.48
Pea Soup Green
#94A617
ΔE00 5.58
Pea Soup
#929901
ΔE00 6.43
Darkkhaki
#BDB76B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A646 #4746A6
analogous
#A67746 #A5A646 #75A646
triadic
#A5A646 #46A5A6 #A646A5
tetradic
#A5A646 #46A677 #4746A6 #A64675
square
#A5A646 #46A677 #4746A6 #A64675
split-complementary
#A5A646 #4675A6 #7746A6
monochromatic
#4F5022 #7A7B34 #A5A646 #BFC069 #D1D294
Accessibility & contrast
On white
2.58
#A5A646 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A5A646 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A646
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A646 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A646 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F3C
Deuteranopia (green-blind)
#B3A34B
Tritanopia (blue-blind)
#B09C91
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a646; /* rgb */ color: rgb(165, 166, 70); /* oklch */ color: oklch(70.5% 0.119 109.7);
Tailwind
colors: {
custom: {
50: '#c2c07d',
500: '#a5a646',
950: '#000000',
},
}SCSS
$custom: #a5a646; $custom-light: #c2c07d; $custom-dark: #000000;
JSON
{
"hex": "#a5a646",
"rgb": {
"r": 165,
"g": 166,
"b": 70
},
"hsl": {
"h": 60.625,
"s": 40.678,
"l": 46.275
},
"oklch": {
"l": 0.70488,
"c": 0.11892,
"h": 109.7
},
"luminance": 0.35714
}Semantic roles & 50–950 ramp
primary
#A5A646
secondary
#8B8ABE
accent
#57D159
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C