#AAAF47#AAAF47
#AAAF47 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.9% C 0.127 H 111.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF47 |
|---|---|
| RGB | rgb(170, 175, 71) |
| HSL | hsl(63, 42%, 48%) |
| HSV | hsv(63, 59%, 69%) |
| CMYK | cmyk(2.9%, 0%, 59.4%, 31.4%) |
| CIE-LAB | lab(69.23, -15.78, 51.39) |
| CIE-LCH | lch(69.23, 53.76, 107.07°) |
| OKLab | oklab(72.93% -0.0471 0.1182) |
| OKLCH | oklch(72.93% 0.127 111.7) |
| XYZ | xyz(33.0457, 39.6616, 11.8747) |
| Luminance | 0.3966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.85
Vomit
#A2A415
ΔE00 5.09
Puke Green
#9AAE07
ΔE00 5.40
Pea Soup Green
#94A617
ΔE00 5.46
Mustard Green
#A8B504
ΔE00 5.48
Puke
#A5A502
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF47 #4C47AF
analogous
#AF8047 #AAAF47 #76AF47
triadic
#AAAF47 #47AAAF #AF47AA
tetradic
#AAAF47 #47AF80 #4C47AF #AF4776
square
#AAAF47 #47AF80 #4C47AF #AF4776
split-complementary
#AAAF47 #4776AF #8047AF
monochromatic
#555824 #808335 #AAAF47 #C0C46F #D3D69A
Accessibility & contrast
On white
2.35
#AAAF47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#AAAF47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF47
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF47 | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA83B
Deuteranopia (green-blind)
#BCAA4D
Tritanopia (blue-blind)
#B5A599
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf47; /* rgb */ color: rgb(170, 175, 71); /* oklch */ color: oklch(72.9% 0.127 111.7);
Tailwind
colors: {
custom: {
50: '#c6c67e',
500: '#aaaf47',
950: '#000000',
},
}SCSS
$custom: #aaaf47; $custom-light: #c6c67e; $custom-dark: #000000;
JSON
{
"hex": "#aaaf47",
"rgb": {
"r": 170,
"g": 175,
"b": 71
},
"hsl": {
"h": 62.885,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.72927,
"c": 0.12723,
"h": 111.7
},
"luminance": 0.39661
}Semantic roles & 50–950 ramp
primary
#AAAF47
secondary
#928FC2
accent
#56D25C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C