#AAAF42#AAAF42
#AAAF42 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.131 H 111.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF42 |
|---|---|
| RGB | rgb(170, 175, 66) |
| HSL | hsl(63, 45%, 47%) |
| HSV | hsv(63, 62%, 69%) |
| CMYK | cmyk(2.9%, 0%, 62.3%, 31.4%) |
| CIE-LAB | lab(69.18, -16.13, 53.54) |
| CIE-LCH | lch(69.18, 55.92, 106.77°) |
| OKLab | oklab(72.88% -0.0486 0.1221) |
| OKLCH | oklch(72.88% 0.131 111.7) |
| XYZ | xyz(32.8918, 39.6001, 11.0641) |
| Luminance | 0.3960 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.61
Booger
#9BB53C
ΔE00 4.80
Mustard Green
#A8B504
ΔE00 4.89
Puke Green
#9AAE07
ΔE00 4.91
Pea Soup Green
#94A617
ΔE00 5.12
Puke
#A5A502
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF42 #4742AF
analogous
#AF7D42 #AAAF42 #74AF42
triadic
#AAAF42 #42AAAF #AF42AA
tetradic
#AAAF42 #42AF7D #4742AF #AF4274
square
#AAAF42 #42AF7D #4742AF #AF4274
split-complementary
#AAAF42 #4274AF #7D42AF
monochromatic
#545620 #7F8331 #AAAF42 #C2C668 #D4D795
Accessibility & contrast
On white
2.35
#AAAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#AAAF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF42
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF42 | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA735
Deuteranopia (green-blind)
#BCAA49
Tritanopia (blue-blind)
#B5A598
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf42; /* rgb */ color: rgb(170, 175, 66); /* oklch */ color: oklch(72.9% 0.131 111.7);
Tailwind
colors: {
custom: {
50: '#c6c67b',
500: '#aaaf42',
950: '#000000',
},
}SCSS
$custom: #aaaf42; $custom-light: #c6c67b; $custom-dark: #000000;
JSON
{
"hex": "#aaaf42",
"rgb": {
"r": 170,
"g": 175,
"b": 66
},
"hsl": {
"h": 62.752,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.72878,
"c": 0.1314,
"h": 111.7
},
"luminance": 0.39599
}Semantic roles & 50–950 ramp
primary
#AAAF42
secondary
#8D8AC2
accent
#53D559
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C