#AAAF46#AAAF46
#AAAF46 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.128 H 111.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF46 |
|---|---|
| RGB | rgb(170, 175, 70) |
| HSL | hsl(63, 43%, 48%) |
| HSV | hsv(63, 60%, 69%) |
| CMYK | cmyk(2.9%, 0%, 60%, 31.4%) |
| CIE-LAB | lab(69.22, -15.85, 51.83) |
| CIE-LCH | lch(69.22, 54.20, 107.01°) |
| OKLab | oklab(72.92% -0.0474 0.119) |
| OKLCH | oklch(72.92% 0.128 111.7) |
| XYZ | xyz(33.0139, 39.6489, 11.7071) |
| Luminance | 0.3965 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.83
Vomit
#A2A415
ΔE00 4.99
Puke Green
#9AAE07
ΔE00 5.30
Mustard Green
#A8B504
ΔE00 5.36
Pea Soup Green
#94A617
ΔE00 5.39
Puke
#A5A502
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF46 #4B46AF
analogous
#AF7F46 #AAAF46 #75AF46
triadic
#AAAF46 #46AAAF #AF46AA
tetradic
#AAAF46 #46AF7F #4B46AF #AF4675
square
#AAAF46 #46AF7F #4B46AF #AF4675
split-complementary
#AAAF46 #4675AF #7F46AF
monochromatic
#555823 #808335 #AAAF46 #C1C56D #D3D699
Accessibility & contrast
On white
2.35
#AAAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#AAAF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF46
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF46 | 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)
#BBA83A
Deuteranopia (green-blind)
#BCAA4C
Tritanopia (blue-blind)
#B5A599
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf46; /* rgb */ color: rgb(170, 175, 70); /* oklch */ color: oklch(72.9% 0.128 111.7);
Tailwind
colors: {
custom: {
50: '#c6c67e',
500: '#aaaf46',
950: '#000000',
},
}SCSS
$custom: #aaaf46; $custom-light: #c6c67e; $custom-dark: #000000;
JSON
{
"hex": "#aaaf46",
"rgb": {
"r": 170,
"g": 175,
"b": 70
},
"hsl": {
"h": 62.857,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.72917,
"c": 0.12809,
"h": 111.7
},
"luminance": 0.39648
}Semantic roles & 50–950 ramp
primary
#AAAF46
secondary
#918EC2
accent
#55D35B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C