#A7AA31#A7AA31
#A7AA31 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.139 H 110.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AA31 |
|---|---|
| RGB | rgb(167, 170, 49) |
| HSL | hsl(61, 55%, 43%) |
| HSV | hsv(61, 71%, 67%) |
| CMYK | cmyk(1.8%, 0%, 71.2%, 33.3%) |
| CIE-LAB | lab(67.42, -15.88, 58.49) |
| CIE-LCH | lch(67.42, 60.61, 105.19°) |
| OKLab | oklab(71.37% -0.0495 0.1299) |
| OKLCH | oklch(71.37% 0.139 110.9) |
| XYZ | xyz(30.8665, 37.1875, 8.4571) |
| Luminance | 0.3719 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.50
Puke
#A5A502
ΔE00 3.09
Pea Soup Green
#94A617
ΔE00 4.13
Puke Green
#9AAE07
ΔE00 4.25
Mustard Green
#A8B504
ΔE00 4.44
Barf Green
#94AC02
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AA31 #3431AA
analogous
#AA7131 #A7AA31 #6AAA31
triadic
#A7AA31 #31A7AA #AA31A7
tetradic
#A7AA31 #31AA71 #3431AA #AA316A
square
#A7AA31 #31AA71 #3431AA #AA316A
split-complementary
#A7AA31 #316AAA #7131AA
monochromatic
#4A4B16 #787A23 #A7AA31 #C8CC4D #D7D97C
Accessibility & contrast
On white
2.49
#A7AA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#A7AA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AA31
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AA31 | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#B39F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a7aa31; /* rgb */ color: rgb(167, 170, 49); /* oklch */ color: oklch(71.4% 0.139 110.9);
Tailwind
colors: {
custom: {
50: '#c4c371',
500: '#a7aa31',
950: '#000000',
},
}SCSS
$custom: #a7aa31; $custom-light: #c4c371; $custom-dark: #000000;
JSON
{
"hex": "#a7aa31",
"rgb": {
"r": 167,
"g": 170,
"b": 49
},
"hsl": {
"h": 61.488,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.71366,
"c": 0.13897,
"h": 110.9
},
"luminance": 0.37187
}Semantic roles & 50–950 ramp
primary
#A7AA31
secondary
#7775C2
accent
#49DF4D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B