#A7A031#A7A031
#A7A031 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.129 H 105.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A031 |
|---|---|
| RGB | rgb(167, 160, 49) |
| HSL | hsl(56, 55%, 42%) |
| HSV | hsv(56, 71%, 65%) |
| CMYK | cmyk(0%, 4.2%, 70.7%, 34.5%) |
| CIE-LAB | lab(64.63, -10.68, 55.75) |
| CIE-LCH | lch(64.63, 56.77, 100.85°) |
| OKLab | oklab(69.14% -0.0349 0.1241) |
| OKLCH | oklch(69.14% 0.129 105.7) |
| XYZ | xyz(29.0627, 33.5799, 7.8558) |
| Luminance | 0.3358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.28
Puke
#A5A502
ΔE00 3.71
Pea Soup
#929901
ΔE00 5.14
Baby Poop Green
#8F9805
ΔE00 5.68
Pea Soup Green
#94A617
ΔE00 6.33
Brown Yellow
#B29705
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A031 #3138A7
analogous
#A76531 #A7A031 #73A731
triadic
#A7A031 #31A7A0 #A031A7
tetradic
#A7A031 #31A765 #3138A7 #A73173
square
#A7A031 #31A765 #3138A7 #A73173
split-complementary
#A7A031 #3173A7 #6531A7
monochromatic
#484515 #787323 #A7A031 #CAC34B #D8D37A
Accessibility & contrast
On white
2.72
#A7A031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#A7A031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A031
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A031 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#B3958A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a7a031; /* rgb */ color: rgb(167, 160, 49); /* oklch */ color: oklch(69.1% 0.129 105.7);
Tailwind
colors: {
custom: {
50: '#c4bb70',
500: '#a7a031',
950: '#000000',
},
}SCSS
$custom: #a7a031; $custom-light: #c4bb70; $custom-dark: #000000;
JSON
{
"hex": "#a7a031",
"rgb": {
"r": 167,
"g": 160,
"b": 49
},
"hsl": {
"h": 56.441,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.6914,
"c": 0.1289,
"h": 105.7
},
"luminance": 0.33579
}Semantic roles & 50–950 ramp
primary
#A7A031
secondary
#7378C1
accent
#53DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B