#AAA42A#AAA42A
#AAA42A is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.137 H 106.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA42A |
|---|---|
| RGB | rgb(170, 164, 42) |
| HSL | hsl(57, 60%, 42%) |
| HSV | hsv(57, 75%, 67%) |
| CMYK | cmyk(0%, 3.5%, 75.3%, 33.3%) |
| CIE-LAB | lab(65.95, -11.79, 59.67) |
| CIE-LCH | lch(65.95, 60.83, 101.18°) |
| OKLab | oklab(70.25% -0.0389 0.131) |
| OKLCH | oklch(70.25% 0.137 106.5) |
| XYZ | xyz(30.2722, 35.2652, 7.4023) |
| Luminance | 0.3526 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.40
Puke
#A5A502
ΔE00 2.52
Pea Soup
#929901
ΔE00 5.45
Muddy Yellow
#BFAC05
ΔE00 5.48
Pea Soup Green
#94A617
ΔE00 5.93
Baby Poop Green
#8F9805
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA42A #2A30AA
analogous
#AA642A #AAA42A #70AA2A
triadic
#AAA42A #2AAAA4 #A42AAA
tetradic
#AAA42A #2AAA64 #2A30AA #AA2A70
square
#AAA42A #2AAA64 #2A30AA #AA2A70
split-complementary
#AAA42A #2A70AA #642AAA
monochromatic
#484512 #79751E #AAA42A #D0C941 #DCD772
Accessibility & contrast
On white
2.61
#AAA42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#AAA42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA42A
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA42A | 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)
#B29E0F
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#B7998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #aaa42a; /* rgb */ color: rgb(170, 164, 42); /* oklch */ color: oklch(70.2% 0.137 106.5);
Tailwind
colors: {
custom: {
50: '#c7be6d',
500: '#aaa42a',
950: '#000000',
},
}SCSS
$custom: #aaa42a; $custom-light: #c7be6d; $custom-dark: #000000;
JSON
{
"hex": "#aaa42a",
"rgb": {
"r": 170,
"g": 164,
"b": 42
},
"hsl": {
"h": 57.188,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.70246,
"c": 0.13663,
"h": 106.5
},
"luminance": 0.35264
}Semantic roles & 50–950 ramp
primary
#AAA42A
secondary
#6C70C3
accent
#4CE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B