#A7A153#A7A153
#A7A153 is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.101 H 104.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A153 |
|---|---|
| RGB | rgb(167, 161, 83) |
| HSL | hsl(56, 34%, 49%) |
| HSV | hsv(56, 50%, 65%) |
| CMYK | cmyk(0%, 3.6%, 50.3%, 34.5%) |
| CIE-LAB | lab(65.22, -8.75, 41.02) |
| CIE-LCH | lch(65.22, 41.94, 102.05°) |
| OKLab | oklab(69.72% -0.0256 0.0972) |
| OKLCH | oklch(69.72% 0.101 104.8) |
| XYZ | xyz(30.2433, 34.3307, 13.2153) |
| Luminance | 0.3433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.52
Darkkhaki
#BDB76B
ΔE00 6.40
Dark Khaki
#9B8F55
ΔE00 6.63
Vomit
#A2A415
ΔE00 7.23
Puke
#A5A502
ΔE00 7.93
Moss Green
#8A9A5B
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A153 #5359A7
analogous
#A77753 #A7A153 #83A753
triadic
#A7A153 #53A7A1 #A153A7
tetradic
#A7A153 #53A777 #5359A7 #A75383
square
#A7A153 #53A777 #5359A7 #A75383
split-complementary
#A7A153 #5383A7 #7753A7
monochromatic
#55522A #7E7A3F #A7A153 #BDB87A #D1CEA3
Accessibility & contrast
On white
2.67
#A7A153 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#A7A153 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A153
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A153 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A153 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9C4C
Deuteranopia (green-blind)
#AFA057
Tritanopia (blue-blind)
#B1988F
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a7a153; /* rgb */ color: rgb(167, 161, 83); /* oklch */ color: oklch(69.7% 0.101 104.8);
Tailwind
colors: {
custom: {
50: '#c3bc85',
500: '#a7a153',
950: '#000000',
},
}SCSS
$custom: #a7a153; $custom-light: #c3bc85; $custom-dark: #000000;
JSON
{
"hex": "#a7a153",
"rgb": {
"r": 167,
"g": 161,
"b": 83
},
"hsl": {
"h": 55.714,
"s": 33.6,
"l": 49.02
},
"oklch": {
"l": 0.69717,
"c": 0.10055,
"h": 104.8
},
"luminance": 0.3433
}Semantic roles & 50–950 ramp
primary
#A7A153
secondary
#979ABF
accent
#66CA5E
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C