#A7A534#A7A534
#A7A534 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.132 H 108.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A534 |
|---|---|
| RGB | rgb(167, 165, 52) |
| HSL | hsl(59, 53%, 43%) |
| HSV | hsv(59, 69%, 65%) |
| CMYK | cmyk(0%, 1.2%, 68.9%, 34.5%) |
| CIE-LAB | lab(66.04, -13.14, 55.99) |
| CIE-LCH | lch(66.04, 57.51, 103.21°) |
| OKLab | oklab(70.27% -0.0415 0.1251) |
| OKLCH | oklch(70.27% 0.132 108.4) |
| XYZ | xyz(30.0124, 35.3746, 8.4952) |
| Luminance | 0.3537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.52
Puke
#A5A502
ΔE00 3.18
Pea Soup Green
#94A617
ΔE00 5.06
Pea Soup
#929901
ΔE00 5.27
Baby Poop Green
#8F9805
ΔE00 5.75
Puke Green
#9AAE07
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A534 #3436A7
analogous
#A76C34 #A7A534 #6FA734
triadic
#A7A534 #34A7A5 #A534A7
tetradic
#A7A534 #34A76C #3436A7 #A7346F
square
#A7A534 #34A76C #3436A7 #A7346F
split-complementary
#A7A534 #346FA7 #6C34A7
monochromatic
#4A4917 #787725 #A7A534 #C8C650 #D7D57E
Accessibility & contrast
On white
2.60
#A7A534 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#A7A534 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A534
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A534 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A534 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#B39A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a7a534; /* rgb */ color: rgb(167, 165, 52); /* oklch */ color: oklch(70.3% 0.132 108.4);
Tailwind
colors: {
custom: {
50: '#c4bf72',
500: '#a7a534',
950: '#000000',
},
}SCSS
$custom: #a7a534; $custom-light: #c4bf72; $custom-dark: #000000;
JSON
{
"hex": "#a7a534",
"rgb": {
"r": 167,
"g": 165,
"b": 52
},
"hsl": {
"h": 58.957,
"s": 52.511,
"l": 42.941
},
"oklch": {
"l": 0.70272,
"c": 0.13181,
"h": 108.4
},
"luminance": 0.35374
}Semantic roles & 50–950 ramp
primary
#A7A534
secondary
#7778C0
accent
#4EDC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B