#AAA42F#AAA42F
#AAA42F 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 | #AAA42F |
|---|---|
| RGB | rgb(170, 164, 47) |
| HSL | hsl(57, 57%, 43%) |
| HSV | hsv(57, 72%, 67%) |
| CMYK | cmyk(0%, 3.5%, 72.4%, 33.3%) |
| CIE-LAB | lab(65.98, -11.56, 57.92) |
| CIE-LCH | lch(65.98, 59.07, 101.29°) |
| OKLab | oklab(70.28% -0.0378 0.1282) |
| OKLCH | oklch(70.28% 0.134 106.4) |
| XYZ | xyz(30.3673, 35.3033, 7.9034) |
| Luminance | 0.3530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.66
Puke
#A5A502
ΔE00 2.93
Pea Soup
#929901
ΔE00 5.56
Muddy Yellow
#BFAC05
ΔE00 5.75
Pea Soup Green
#94A617
ΔE00 5.98
Baby Poop Green
#8F9805
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA42F #2F35AA
analogous
#AA662F #AAA42F #73AA2F
triadic
#AAA42F #2FAAA4 #A42FAA
tetradic
#AAA42F #2FAA66 #2F35AA #AA2F73
square
#AAA42F #2FAA66 #2F35AA #AA2F73
split-complementary
#AAA42F #2F73AA #662FAA
monochromatic
#4A4714 #7A7622 #AAA42F #CDC649 #DAD579
Accessibility & contrast
On white
2.61
#AAA42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#AAA42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA42F
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA42F | 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)
#B29E1A
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#B7998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #aaa42f; /* rgb */ color: rgb(170, 164, 47); /* oklch */ color: oklch(70.3% 0.134 106.4);
Tailwind
colors: {
custom: {
50: '#c7be70',
500: '#aaa42f',
950: '#000000',
},
}SCSS
$custom: #aaa42f; $custom-light: #c7be70; $custom-dark: #000000;
JSON
{
"hex": "#aaa42f",
"rgb": {
"r": 170,
"g": 164,
"b": 47
},
"hsl": {
"h": 57.073,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.70279,
"c": 0.13365,
"h": 106.4
},
"luminance": 0.35302
}Semantic roles & 50–950 ramp
primary
#AAA42F
secondary
#7276C2
accent
#4FE048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B