#A7A526#A7A526
#A7A526 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.140 H 108.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A526 |
|---|---|
| RGB | rgb(167, 165, 38) |
| HSL | hsl(59, 63%, 40%) |
| HSV | hsv(59, 77%, 65%) |
| CMYK | cmyk(0%, 1.2%, 77.2%, 34.5%) |
| CIE-LAB | lab(65.96, -13.80, 60.90) |
| CIE-LCH | lch(65.96, 62.45, 102.77°) |
| OKLab | oklab(70.18% -0.0447 0.133) |
| OKLCH | oklch(70.18% 0.14 108.6) |
| XYZ | xyz(29.7425, 35.2667, 7.0738) |
| Luminance | 0.3527 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.44
Puke
#A5A502
ΔE00 1.84
Pea Soup Green
#94A617
ΔE00 4.87
Pea Soup
#929901
ΔE00 4.89
Puke Green
#9AAE07
ΔE00 5.39
Baby Poop Green
#8F9805
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A526 #2628A7
analogous
#A76526 #A7A526 #68A726
triadic
#A7A526 #26A7A5 #A526A7
tetradic
#A7A526 #26A765 #2628A7 #A72668
square
#A7A526 #26A765 #2628A7 #A72668
split-complementary
#A7A526 #2668A7 #6526A7
monochromatic
#43420F #75741B #A7A526 #D2CF38 #DDDB6A
Accessibility & contrast
On white
2.61
#A7A526 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#A7A526 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A526
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A526 | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E03
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#B39A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a7a526; /* rgb */ color: rgb(167, 165, 38); /* oklch */ color: oklch(70.2% 0.140 108.6);
Tailwind
colors: {
custom: {
50: '#c5bf6c',
500: '#a7a526',
950: '#000000',
},
}SCSS
$custom: #a7a526; $custom-light: #c5bf6c; $custom-dark: #000000;
JSON
{
"hex": "#a7a526",
"rgb": {
"r": 167,
"g": 165,
"b": 38
},
"hsl": {
"h": 59.07,
"s": 62.927,
"l": 40.196
},
"oklch": {
"l": 0.70178,
"c": 0.14028,
"h": 108.6
},
"luminance": 0.35266
}Semantic roles & 50–950 ramp
primary
#A7A526
secondary
#6567C3
accent
#44E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A