#A7A920#A7A920
#A7A920 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.147 H 110.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A920 |
|---|---|
| RGB | rgb(167, 169, 32) |
| HSL | hsl(61, 68%, 39%) |
| HSV | hsv(61, 81%, 66%) |
| CMYK | cmyk(1.2%, 0%, 81.1%, 33.7%) |
| CIE-LAB | lab(67.05, -16.08, 63.65) |
| CIE-LCH | lch(67.05, 65.65, 104.18°) |
| OKLab | oklab(71.04% -0.0515 0.1377) |
| OKLCH | oklch(71.04% 0.147 110.5) |
| XYZ | xyz(30.3862, 36.6966, 6.8487) |
| Luminance | 0.3670 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.53
Puke
#A5A502
ΔE00 1.72
Mustard Green
#A8B504
ΔE00 4.03
Puke Green
#9AAE07
ΔE00 4.12
Pea Soup Green
#94A617
ΔE00 4.23
Barf Green
#94AC02
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A920 #2220A9
analogous
#A96720 #A7A920 #63A920
triadic
#A7A920 #20A7A9 #A920A7
tetradic
#A7A920 #20A967 #2220A9 #A92063
square
#A7A920 #20A967 #2220A9 #A92063
split-complementary
#A7A920 #2063A9 #6720A9
monochromatic
#41420D #747616 #A7A920 #D5D82F #DFE162
Accessibility & contrast
On white
2.52
#A7A920 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#A7A920 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A920
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A920 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A920 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#B39E90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a7a920; /* rgb */ color: rgb(167, 169, 32); /* oklch */ color: oklch(71.0% 0.147 110.5);
Tailwind
colors: {
custom: {
50: '#c5c26a',
500: '#a7a920',
950: '#000000',
},
}SCSS
$custom: #a7a920; $custom-light: #c5c26a; $custom-dark: #000000;
JSON
{
"hex": "#a7a920",
"rgb": {
"r": 167,
"g": 169,
"b": 32
},
"hsl": {
"h": 60.876,
"s": 68.159,
"l": 39.412
},
"oklch": {
"l": 0.71043,
"c": 0.14705,
"h": 110.5
},
"luminance": 0.36696
}Semantic roles & 50–950 ramp
primary
#A7A920
secondary
#605FC6
accent
#3DEB3F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A