#A7A525#A7A525
#A7A525 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.141 H 108.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A525 |
|---|---|
| RGB | rgb(167, 165, 37) |
| HSL | hsl(59, 64%, 40%) |
| HSV | hsv(59, 78%, 65%) |
| CMYK | cmyk(0%, 1.2%, 77.8%, 34.5%) |
| CIE-LAB | lab(65.95, -13.84, 61.21) |
| CIE-LCH | lch(65.95, 62.76, 102.74°) |
| OKLab | oklab(70.17% -0.0449 0.1334) |
| OKLCH | oklch(70.17% 0.141 108.6) |
| XYZ | xyz(29.7266, 35.2603, 6.9899) |
| Luminance | 0.3526 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.39
Puke
#A5A502
ΔE00 1.76
Pea Soup Green
#94A617
ΔE00 4.88
Pea Soup
#929901
ΔE00 4.88
Puke Green
#9AAE07
ΔE00 5.37
Baby Poop Green
#8F9805
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A525 #2527A7
analogous
#A76425 #A7A525 #68A725
triadic
#A7A525 #25A7A5 #A525A7
tetradic
#A7A525 #25A764 #2527A7 #A72568
square
#A7A525 #25A764 #2527A7 #A72568
split-complementary
#A7A525 #2568A7 #6425A7
monochromatic
#43420F #75731A #A7A525 #D3D037 #DEDC69
Accessibility & contrast
On white
2.61
#A7A525 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#A7A525 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A525
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A525 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A525 | 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)
#B39E00
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#B39A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a7a525; /* rgb */ color: rgb(167, 165, 37); /* oklch */ color: oklch(70.2% 0.141 108.6);
Tailwind
colors: {
custom: {
50: '#c5bf6b',
500: '#a7a525',
950: '#000000',
},
}SCSS
$custom: #a7a525; $custom-light: #c5bf6b; $custom-dark: #000000;
JSON
{
"hex": "#a7a525",
"rgb": {
"r": 167,
"g": 165,
"b": 37
},
"hsl": {
"h": 59.077,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.70173,
"c": 0.14079,
"h": 108.6
},
"luminance": 0.35259
}Semantic roles & 50–950 ramp
primary
#A7A525
secondary
#6466C4
accent
#44E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A