#A7A02E#A7A02E
#A7A02E is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.131 H 105.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A02E |
|---|---|
| RGB | rgb(167, 160, 46) |
| HSL | hsl(57, 57%, 42%) |
| HSV | hsv(57, 72%, 65%) |
| CMYK | cmyk(0%, 4.2%, 72.5%, 34.5%) |
| CIE-LAB | lab(64.61, -10.84, 56.87) |
| CIE-LCH | lch(64.61, 57.90, 100.79°) |
| OKLab | oklab(69.12% -0.0357 0.1259) |
| OKLCH | oklch(69.12% 0.131 105.8) |
| XYZ | xyz(29.0015, 33.5554, 7.5334) |
| Luminance | 0.3355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.07
Puke
#A5A502
ΔE00 3.45
Pea Soup
#929901
ΔE00 5.02
Baby Poop Green
#8F9805
ΔE00 5.58
Pea Soup Green
#94A617
ΔE00 6.27
Brown Yellow
#B29705
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A02E #2E35A7
analogous
#A7642E #A7A02E #72A72E
triadic
#A7A02E #2EA7A0 #A02EA7
tetradic
#A7A02E #2EA764 #2E35A7 #A72E72
square
#A7A02E #2EA764 #2E35A7 #A72E72
split-complementary
#A7A02E #2E72A7 #642EA7
monochromatic
#474414 #777221 #A7A02E #CCC446 #D9D476
Accessibility & contrast
On white
2.72
#A7A02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#A7A02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A02E
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A02E | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B3958A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a7a02e; /* rgb */ color: rgb(167, 160, 46); /* oklch */ color: oklch(69.1% 0.131 105.8);
Tailwind
colors: {
custom: {
50: '#c5bb6f',
500: '#a7a02e',
950: '#000000',
},
}SCSS
$custom: #a7a02e; $custom-light: #c5bb6f; $custom-dark: #000000;
JSON
{
"hex": "#a7a02e",
"rgb": {
"r": 167,
"g": 160,
"b": 46
},
"hsl": {
"h": 56.529,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.69118,
"c": 0.13086,
"h": 105.8
},
"luminance": 0.33554
}Semantic roles & 50–950 ramp
primary
#A7A02E
secondary
#7074C1
accent
#51E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B