#A7A02A#A7A02A
#A7A02A is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.133 H 105.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A02A |
|---|---|
| RGB | rgb(167, 160, 42) |
| HSL | hsl(57, 60%, 41%) |
| HSV | hsv(57, 75%, 65%) |
| CMYK | cmyk(0%, 4.2%, 74.9%, 34.5%) |
| CIE-LAB | lab(64.58, -11.02, 58.30) |
| CIE-LCH | lch(64.58, 59.33, 100.71°) |
| OKLab | oklab(69.09% -0.0366 0.1282) |
| OKLCH | oklch(69.09% 0.133 105.9) |
| XYZ | xyz(28.9263, 33.5253, 7.1374) |
| Luminance | 0.3352 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.84
Puke
#A5A502
ΔE00 3.14
Pea Soup
#929901
ΔE00 4.90
Baby Poop Green
#8F9805
ΔE00 5.50
Muddy Yellow
#BFAC05
ΔE00 6.20
Pea Soup Green
#94A617
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A02A #2A31A7
analogous
#A7612A #A7A02A #6FA72A
triadic
#A7A02A #2AA7A0 #A02AA7
tetradic
#A7A02A #2AA761 #2A31A7 #A72A6F
square
#A7A02A #2AA761 #2A31A7 #A72A6F
split-complementary
#A7A02A #2A6FA7 #612AA7
monochromatic
#454211 #76711E #A7A02A #CFC73F #DBD570
Accessibility & contrast
On white
2.73
#A7A02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#A7A02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A02A
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A02A | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B49589
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a7a02a; /* rgb */ color: rgb(167, 160, 42); /* oklch */ color: oklch(69.1% 0.133 105.9);
Tailwind
colors: {
custom: {
50: '#c5bb6d',
500: '#a7a02a',
950: '#000000',
},
}SCSS
$custom: #a7a02a; $custom-light: #c5bb6d; $custom-dark: #000000;
JSON
{
"hex": "#a7a02a",
"rgb": {
"r": 167,
"g": 160,
"b": 42
},
"hsl": {
"h": 56.64,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.69091,
"c": 0.13329,
"h": 105.9
},
"luminance": 0.33524
}Semantic roles & 50–950 ramp
primary
#A7A02A
secondary
#6B70C2
accent
#4EE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A