#A7A220#A7A220
#A7A220 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.140 H 107.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A220 |
|---|---|
| RGB | rgb(167, 162, 32) |
| HSL | hsl(58, 68%, 39%) |
| HSV | hsv(58, 81%, 65%) |
| CMYK | cmyk(0%, 3%, 80.8%, 34.5%) |
| CIE-LAB | lab(65.09, -12.46, 61.94) |
| CIE-LCH | lch(65.09, 63.18, 101.38°) |
| OKLab | oklab(69.48% -0.0415 0.1341) |
| OKLCH | oklch(69.48% 0.14 107.2) |
| XYZ | xyz(29.1186, 34.1615, 6.4262) |
| Luminance | 0.3416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.88
Puke
#A5A502
ΔE00 1.97
Pea Soup
#929901
ΔE00 4.69
Baby Poop Green
#8F9805
ΔE00 5.36
Pea Soup Green
#94A617
ΔE00 5.63
Muddy Yellow
#BFAC05
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A220 #2025A7
analogous
#A75F20 #A7A220 #69A720
triadic
#A7A220 #20A7A2 #A220A7
tetradic
#A7A220 #20A75F #2025A7 #A72069
square
#A7A220 #20A75F #2025A7 #A72069
split-complementary
#A7A220 #2069A7 #5F20A7
monochromatic
#403E0C #747016 #A7A220 #D7D12D #E1DC61
Accessibility & contrast
On white
2.68
#A7A220 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#A7A220 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A220
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A220 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A220 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B3A02C
Tritanopia (blue-blind)
#B4978A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a7a220; /* rgb */ color: rgb(167, 162, 32); /* oklch */ color: oklch(69.5% 0.140 107.2);
Tailwind
colors: {
custom: {
50: '#c5bd69',
500: '#a7a220',
950: '#000000',
},
}SCSS
$custom: #a7a220; $custom-light: #c5bd69; $custom-dark: #000000;
JSON
{
"hex": "#a7a220",
"rgb": {
"r": 167,
"g": 162,
"b": 32
},
"hsl": {
"h": 57.778,
"s": 67.839,
"l": 39.02
},
"oklch": {
"l": 0.69479,
"c": 0.14033,
"h": 107.2
},
"luminance": 0.3416
}Semantic roles & 50–950 ramp
primary
#A7A220
secondary
#5D61C5
accent
#44EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A