#A7A545#A7A545
#A7A545 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.118 H 108.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A545 |
|---|---|
| RGB | rgb(167, 165, 69) |
| HSL | hsl(59, 42%, 46%) |
| HSV | hsv(59, 59%, 65%) |
| CMYK | cmyk(0%, 1.2%, 58.7%, 34.5%) |
| CIE-LAB | lab(66.18, -12.03, 48.86) |
| CIE-LCH | lch(66.18, 50.32, 103.84°) |
| OKLab | oklab(70.43% -0.0365 0.1126) |
| OKLCH | oklch(70.43% 0.118 108) |
| XYZ | xyz(30.4666, 35.5563, 10.8872) |
| Luminance | 0.3555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.54
Khaki (survey)
#AAA662
ΔE00 4.67
Puke
#A5A502
ΔE00 5.28
Pea Soup Green
#94A617
ΔE00 6.06
Pea Soup
#929901
ΔE00 6.44
Darkkhaki
#BDB76B
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A545 #4547A7
analogous
#A77445 #A7A545 #78A745
triadic
#A7A545 #45A7A5 #A545A7
tetradic
#A7A545 #45A774 #4547A7 #A74578
square
#A7A545 #45A774 #4547A7 #A74578
split-complementary
#A7A545 #4578A7 #7445A7
monochromatic
#504F21 #7C7A33 #A7A545 #C1BF68 #D3D194
Accessibility & contrast
On white
2.59
#A7A545 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#A7A545 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A545
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A545 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A545 | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F3A
Deuteranopia (green-blind)
#B3A34A
Tritanopia (blue-blind)
#B29B90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a7a545; /* rgb */ color: rgb(167, 165, 69); /* oklch */ color: oklch(70.4% 0.118 108.0);
Tailwind
colors: {
custom: {
50: '#c4bf7c',
500: '#a7a545',
950: '#000000',
},
}SCSS
$custom: #a7a545; $custom-light: #c4bf7c; $custom-dark: #000000;
JSON
{
"hex": "#a7a545",
"rgb": {
"r": 167,
"g": 165,
"b": 69
},
"hsl": {
"h": 58.776,
"s": 41.525,
"l": 46.275
},
"oklch": {
"l": 0.70428,
"c": 0.11839,
"h": 108
},
"luminance": 0.35555
}Semantic roles & 50–950 ramp
primary
#A7A545
secondary
#898BBE
accent
#59D156
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C