#A7A325#A7A325
#A7A325 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.139 H 107.6°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A325 |
|---|---|
| RGB | rgb(167, 163, 37) |
| HSL | hsl(58, 64%, 40%) |
| HSV | hsv(58, 78%, 65%) |
| CMYK | cmyk(0%, 2.4%, 77.8%, 34.5%) |
| CIE-LAB | lab(65.39, -12.80, 60.71) |
| CIE-LCH | lch(65.39, 62.04, 101.91°) |
| OKLab | oklab(69.73% -0.042 0.1324) |
| OKLCH | oklch(69.73% 0.139 107.6) |
| XYZ | xyz(29.3687, 34.5445, 6.8706) |
| Luminance | 0.3454 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.76
Puke
#A5A502
ΔE00 2.05
Pea Soup
#929901
ΔE00 4.76
Pea Soup Green
#94A617
ΔE00 5.35
Baby Poop Green
#8F9805
ΔE00 5.39
Muddy Yellow
#BFAC05
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A325 #2529A7
analogous
#A76225 #A7A325 #6AA725
triadic
#A7A325 #25A7A3 #A325A7
tetradic
#A7A325 #25A762 #2529A7 #A7256A
square
#A7A325 #25A762 #2529A7 #A7256A
split-complementary
#A7A325 #256AA7 #6225A7
monochromatic
#43410F #75721A #A7A325 #D3CE37 #DEDA69
Accessibility & contrast
On white
2.66
#A7A325 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#A7A325 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A325
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A325 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A325 | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C01
Deuteranopia (green-blind)
#B3A130
Tritanopia (blue-blind)
#B4988C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a7a325; /* rgb */ color: rgb(167, 163, 37); /* oklch */ color: oklch(69.7% 0.139 107.6);
Tailwind
colors: {
custom: {
50: '#c5bd6b',
500: '#a7a325',
950: '#000000',
},
}SCSS
$custom: #a7a325; $custom-light: #c5bd6b; $custom-dark: #000000;
JSON
{
"hex": "#a7a325",
"rgb": {
"r": 167,
"g": 163,
"b": 37
},
"hsl": {
"h": 58.154,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.69727,
"c": 0.13887,
"h": 107.6
},
"luminance": 0.34543
}Semantic roles & 50–950 ramp
primary
#A7A325
secondary
#6467C4
accent
#46E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A