#AAA42E#AAA42E
#AAA42E is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.134 H 106.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA42E |
|---|---|
| RGB | rgb(170, 164, 46) |
| HSL | hsl(57, 57%, 42%) |
| HSV | hsv(57, 73%, 67%) |
| CMYK | cmyk(0%, 3.5%, 72.9%, 33.3%) |
| CIE-LAB | lab(65.98, -11.61, 58.28) |
| CIE-LCH | lch(65.98, 59.43, 101.27°) |
| OKLab | oklab(70.27% -0.038 0.1288) |
| OKLCH | oklch(70.27% 0.134 106.4) |
| XYZ | xyz(30.3474, 35.2953, 7.7984) |
| Luminance | 0.3529 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.60
Puke
#A5A502
ΔE00 2.84
Pea Soup
#929901
ΔE00 5.53
Muddy Yellow
#BFAC05
ΔE00 5.69
Pea Soup Green
#94A617
ΔE00 5.96
Baby Poop Green
#8F9805
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA42E #2E34AA
analogous
#AA662E #AAA42E #72AA2E
triadic
#AAA42E #2EAAA4 #A42EAA
tetradic
#AAA42E #2EAA66 #2E34AA #AA2E72
square
#AAA42E #2EAA66 #2E34AA #AA2E72
split-complementary
#AAA42E #2E72AA #662EAA
monochromatic
#4A4714 #7A7621 #AAA42E #CDC748 #DAD678
Accessibility & contrast
On white
2.61
#AAA42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#AAA42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA42E
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA42E | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E18
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#B7998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #aaa42e; /* rgb */ color: rgb(170, 164, 46); /* oklch */ color: oklch(70.3% 0.134 106.4);
Tailwind
colors: {
custom: {
50: '#c7be6f',
500: '#aaa42e',
950: '#000000',
},
}SCSS
$custom: #aaa42e; $custom-light: #c7be6f; $custom-dark: #000000;
JSON
{
"hex": "#aaa42e",
"rgb": {
"r": 170,
"g": 164,
"b": 46
},
"hsl": {
"h": 57.097,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.70272,
"c": 0.13427,
"h": 106.4
},
"luminance": 0.35294
}Semantic roles & 50–950 ramp
primary
#AAA42E
secondary
#7175C3
accent
#4FE147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B