#A7AA20#A7AA20
#A7AA20 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.148 H 111.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AA20 |
|---|---|
| RGB | rgb(167, 170, 32) |
| HSL | hsl(61, 68%, 40%) |
| HSV | hsv(61, 81%, 67%) |
| CMYK | cmyk(1.8%, 0%, 81.2%, 33.3%) |
| CIE-LAB | lab(67.33, -16.59, 63.89) |
| CIE-LCH | lch(67.33, 66.01, 104.56°) |
| OKLab | oklab(71.27% -0.0529 0.1383) |
| OKLCH | oklch(71.27% 0.148 111) |
| XYZ | xyz(30.5729, 37.0701, 6.9110) |
| Luminance | 0.3707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.78
Puke
#A5A502
ΔE00 1.96
Mustard Green
#A8B504
ΔE00 3.70
Puke Green
#9AAE07
ΔE00 3.85
Pea Soup Green
#94A617
ΔE00 4.12
Barf Green
#94AC02
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AA20 #2320AA
analogous
#AA6820 #A7AA20 #62AA20
triadic
#A7AA20 #20A7AA #AA20A7
tetradic
#A7AA20 #20AA68 #2320AA #AA2062
square
#A7AA20 #20AA68 #2320AA #AA2062
split-complementary
#A7AA20 #2062AA #6820AA
monochromatic
#42430D #747616 #A7AA20 #D4D82F #DFE263
Accessibility & contrast
On white
2.50
#A7AA20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#A7AA20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AA20
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AA20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AA20 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B9A62D
Tritanopia (blue-blind)
#B39F91
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a7aa20; /* rgb */ color: rgb(167, 170, 32); /* oklch */ color: oklch(71.3% 0.148 111.0);
Tailwind
colors: {
custom: {
50: '#c5c36a',
500: '#a7aa20',
950: '#000000',
},
}SCSS
$custom: #a7aa20; $custom-light: #c5c36a; $custom-dark: #000000;
JSON
{
"hex": "#a7aa20",
"rgb": {
"r": 167,
"g": 170,
"b": 32
},
"hsl": {
"h": 61.304,
"s": 68.317,
"l": 39.608
},
"oklch": {
"l": 0.71268,
"c": 0.14805,
"h": 111
},
"luminance": 0.37069
}Semantic roles & 50–950 ramp
primary
#A7AA20
secondary
#615FC7
accent
#3DEB40
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A