#A5A721#A5A721
#A5A721 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.145 H 110.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A721 |
|---|---|
| RGB | rgb(165, 167, 33) |
| HSL | hsl(61, 67%, 39%) |
| HSV | hsv(61, 80%, 65%) |
| CMYK | cmyk(1.2%, 0%, 80.2%, 34.5%) |
| CIE-LAB | lab(66.33, -15.90, 62.68) |
| CIE-LCH | lch(66.33, 64.66, 104.23°) |
| OKLab | oklab(70.43% -0.0508 0.1359) |
| OKLCH | oklch(70.43% 0.145 110.5) |
| XYZ | xyz(29.6114, 35.7474, 6.7787) |
| Luminance | 0.3575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.06
Puke
#A5A502
ΔE00 1.63
Pea Soup Green
#94A617
ΔE00 3.98
Puke Green
#9AAE07
ΔE00 4.26
Mustard Green
#A8B504
ΔE00 4.54
Pea Soup
#929901
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A721 #2321A7
analogous
#A76621 #A5A721 #62A721
triadic
#A5A721 #21A5A7 #A721A5
tetradic
#A5A721 #21A766 #2321A7 #A72162
square
#A5A721 #21A766 #2321A7 #A72162
split-complementary
#A5A721 #2162A7 #6621A7
monochromatic
#40410D #737417 #A5A721 #D3D62F #DEE062
Accessibility & contrast
On white
2.58
#A5A721 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A5A721 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A721
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A721 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A721 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B19C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a721; /* rgb */ color: rgb(165, 167, 33); /* oklch */ color: oklch(70.4% 0.145 110.5);
Tailwind
colors: {
custom: {
50: '#c4c06a',
500: '#a5a721',
950: '#000000',
},
}SCSS
$custom: #a5a721; $custom-light: #c4c06a; $custom-dark: #000000;
JSON
{
"hex": "#a5a721",
"rgb": {
"r": 165,
"g": 167,
"b": 33
},
"hsl": {
"h": 60.896,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.70427,
"c": 0.14511,
"h": 110.5
},
"luminance": 0.35747
}Semantic roles & 50–950 ramp
primary
#A5A721
secondary
#605FC5
accent
#3EEA40
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A