#AAAF4A#AAAF4A
#AAAF4A is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.125 H 111.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF4A |
|---|---|
| RGB | rgb(170, 175, 74) |
| HSL | hsl(63, 41%, 49%) |
| HSV | hsv(63, 58%, 69%) |
| CMYK | cmyk(2.9%, 0%, 57.7%, 31.4%) |
| CIE-LAB | lab(69.26, -15.55, 50.06) |
| CIE-LCH | lch(69.26, 52.42, 107.25°) |
| OKLab | oklab(72.96% -0.0461 0.1158) |
| OKLCH | oklch(72.96% 0.125 111.7) |
| XYZ | xyz(33.1444, 39.7011, 12.3943) |
| Luminance | 0.3970 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.92
Vomit
#A2A415
ΔE00 5.41
Darkkhaki
#BDB76B
ΔE00 5.59
Pea Soup Green
#94A617
ΔE00 5.71
Puke Green
#9AAE07
ΔE00 5.72
Khaki (survey)
#AAA662
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF4A #4F4AAF
analogous
#AF824A #AAAF4A #78AF4A
triadic
#AAAF4A #4AAAAF #AF4AAA
tetradic
#AAAF4A #4AAF82 #4F4AAF #AF4A78
square
#AAAF4A #4AAF82 #4F4AAF #AF4A78
split-complementary
#AAAF4A #4A78AF #824AAF
monochromatic
#565926 #808438 #AAAF4A #C0C473 #D3D69E
Accessibility & contrast
On white
2.35
#AAAF4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#AAAF4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF4A
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF4A | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA83F
Deuteranopia (green-blind)
#BCAA50
Tritanopia (blue-blind)
#B5A599
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf4a; /* rgb */ color: rgb(170, 175, 74); /* oklch */ color: oklch(73.0% 0.125 111.7);
Tailwind
colors: {
custom: {
50: '#c6c680',
500: '#aaaf4a',
950: '#000000',
},
}SCSS
$custom: #aaaf4a; $custom-light: #c6c680; $custom-dark: #000000;
JSON
{
"hex": "#aaaf4a",
"rgb": {
"r": 170,
"g": 175,
"b": 74
},
"hsl": {
"h": 62.97,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.72959,
"c": 0.1246,
"h": 111.7
},
"luminance": 0.397
}Semantic roles & 50–950 ramp
primary
#AAAF4A
secondary
#9592C2
accent
#57D05D
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C