#AAA521#AAA521
#AAA521 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.142 H 107.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA521 |
|---|---|
| RGB | rgb(170, 165, 33) |
| HSL | hsl(58, 67%, 40%) |
| HSV | hsv(58, 81%, 67%) |
| CMYK | cmyk(0%, 2.9%, 80.6%, 33.3%) |
| CIE-LAB | lab(66.19, -12.66, 62.72) |
| CIE-LCH | lch(66.19, 63.98, 101.42°) |
| OKLab | oklab(70.42% -0.0421 0.1358) |
| OKLCH | oklch(70.42% 0.142 107.2) |
| XYZ | xyz(30.3085, 35.5672, 6.7072) |
| Luminance | 0.3557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 1.77
Vomit
#A2A415
ΔE00 1.95
Muddy Yellow
#BFAC05
ΔE00 5.14
Pea Soup
#929901
ΔE00 5.40
Pea Soup Green
#94A617
ΔE00 5.72
Mustard Green
#A8B504
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA521 #2126AA
analogous
#AA6021 #AAA521 #6BAA21
triadic
#AAA521 #21AAA5 #A521AA
tetradic
#AAA521 #21AA60 #2126AA #AA216B
square
#AAA521 #21AA60 #2126AA #AA216B
split-complementary
#AAA521 #216BAA #6021AA
monochromatic
#43420D #777317 #AAA521 #D7D131 #E1DC64
Accessibility & contrast
On white
2.59
#AAA521 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#AAA521 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA521
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA521 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA521 | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#B79A8D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aaa521; /* rgb */ color: rgb(170, 165, 33); /* oklch */ color: oklch(70.4% 0.142 107.2);
Tailwind
colors: {
custom: {
50: '#c7bf69',
500: '#aaa521',
950: '#000000',
},
}SCSS
$custom: #aaa521; $custom-light: #c7bf69; $custom-dark: #000000;
JSON
{
"hex": "#aaa521",
"rgb": {
"r": 170,
"g": 165,
"b": 33
},
"hsl": {
"h": 57.81,
"s": 67.488,
"l": 39.804
},
"oklch": {
"l": 0.70418,
"c": 0.14215,
"h": 107.2
},
"luminance": 0.35566
}Semantic roles & 50–950 ramp
primary
#AAA521
secondary
#6164C6
accent
#44EA3D
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A