#AAA02A#AAA02A
#AAA02A is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.133 H 104.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA02A |
|---|---|
| RGB | rgb(170, 160, 42) |
| HSL | hsl(55, 60%, 42%) |
| HSV | hsv(55, 75%, 67%) |
| CMYK | cmyk(0%, 5.9%, 75.3%, 33.3%) |
| CIE-LAB | lab(64.85, -9.69, 58.64) |
| CIE-LCH | lch(64.85, 59.44, 99.39°) |
| OKLab | oklab(69.36% -0.033 0.1288) |
| OKLCH | oklch(69.36% 0.133 104.4) |
| XYZ | xyz(29.5676, 33.8560, 7.1674) |
| Luminance | 0.3386 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.48
Puke
#A5A502
ΔE00 3.55
Brown Yellow
#B29705
ΔE00 5.52
Pea Soup
#929901
ΔE00 5.61
Muddy Yellow
#BFAC05
ΔE00 5.63
Baby Poop Green
#8F9805
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA02A #2A34AA
analogous
#AA602A #AAA02A #74AA2A
triadic
#AAA02A #2AAAA0 #A02AAA
tetradic
#AAA02A #2AAA60 #2A34AA #AA2A74
square
#AAA02A #2AAA60 #2A34AA #AA2A74
split-complementary
#AAA02A #2A74AA #602AAA
monochromatic
#484412 #79721E #AAA02A #D0C541 #DCD472
Accessibility & contrast
On white
2.70
#AAA02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#AAA02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA02A
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA02A | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A12
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#B79589
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #aaa02a; /* rgb */ color: rgb(170, 160, 42); /* oklch */ color: oklch(69.4% 0.133 104.4);
Tailwind
colors: {
custom: {
50: '#c7bb6d',
500: '#aaa02a',
950: '#000000',
},
}SCSS
$custom: #aaa02a; $custom-light: #c7bb6d; $custom-dark: #000000;
JSON
{
"hex": "#aaa02a",
"rgb": {
"r": 170,
"g": 160,
"b": 42
},
"hsl": {
"h": 55.313,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.69365,
"c": 0.13294,
"h": 104.4
},
"luminance": 0.33855
}Semantic roles & 50–950 ramp
primary
#AAA02A
secondary
#6C73C3
accent
#51E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A