#A7A620#A7A620
#A7A620 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.144 H 109.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A620 |
|---|---|
| RGB | rgb(167, 166, 32) |
| HSL | hsl(60, 68%, 39%) |
| HSV | hsv(60, 81%, 65%) |
| CMYK | cmyk(0%, 0.6%, 80.8%, 34.5%) |
| CIE-LAB | lab(66.21, -14.54, 62.92) |
| CIE-LCH | lch(66.21, 64.58, 103.01°) |
| OKLab | oklab(70.37% -0.0472 0.1362) |
| OKLCH | oklch(70.37% 0.144 109.1) |
| XYZ | xyz(29.8345, 35.5932, 6.6648) |
| Luminance | 0.3559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.14
Puke
#A5A502
ΔE00 1.35
Pea Soup Green
#94A617
ΔE00 4.70
Pea Soup
#929901
ΔE00 4.95
Puke Green
#9AAE07
ΔE00 5.00
Mustard Green
#A8B504
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A620 #2021A7
analogous
#A76320 #A7A620 #65A720
triadic
#A7A620 #20A7A6 #A620A7
tetradic
#A7A620 #20A763 #2021A7 #A72065
square
#A7A620 #20A763 #2021A7 #A72065
split-complementary
#A7A620 #2065A7 #6320A7
monochromatic
#40400C #747316 #A7A620 #D7D62D #E1E061
Accessibility & contrast
On white
2.59
#A7A620 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#A7A620 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A620
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A620 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A620 | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#B39B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a7a620; /* rgb */ color: rgb(167, 166, 32); /* oklch */ color: oklch(70.4% 0.144 109.1);
Tailwind
colors: {
custom: {
50: '#c5c069',
500: '#a7a620',
950: '#000000',
},
}SCSS
$custom: #a7a620; $custom-light: #c5c069; $custom-dark: #000000;
JSON
{
"hex": "#a7a620",
"rgb": {
"r": 167,
"g": 166,
"b": 32
},
"hsl": {
"h": 59.556,
"s": 67.839,
"l": 39.02
},
"oklch": {
"l": 0.70371,
"c": 0.14413,
"h": 109.1
},
"luminance": 0.35592
}Semantic roles & 50–950 ramp
primary
#A7A620
secondary
#5D5EC5
accent
#3EEB3D
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A