#AAAF37#AAAF37
#AAAF37 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.140 H 111.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF37 |
|---|---|
| RGB | rgb(170, 175, 55) |
| HSL | hsl(63, 52%, 45%) |
| HSV | hsv(63, 69%, 69%) |
| CMYK | cmyk(2.9%, 0%, 68.6%, 31.4%) |
| CIE-LAB | lab(69.10, -16.82, 57.96) |
| CIE-LCH | lch(69.10, 60.35, 106.18°) |
| OKLab | oklab(72.78% -0.0517 0.1297) |
| OKLCH | oklch(72.78% 0.14 111.7) |
| XYZ | xyz(32.5981, 39.4826, 9.5174) |
| Luminance | 0.3948 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.78
Vomit
#A2A415
ΔE00 3.79
Puke Green
#9AAE07
ΔE00 4.10
Puke
#A5A502
ΔE00 4.19
Pea Soup Green
#94A617
ΔE00 4.65
Snot
#ACBB0D
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF37 #3C37AF
analogous
#AF7837 #AAAF37 #6EAF37
triadic
#AAAF37 #37AAAF #AF37AA
tetradic
#AAAF37 #37AF78 #3C37AF #AF376E
square
#AAAF37 #37AF78 #3C37AF #AF376E
split-complementary
#AAAF37 #376EAF #7837AF
monochromatic
#50521A #7D8028 #AAAF37 #C6CB59 #D6D987
Accessibility & contrast
On white
2.36
#AAAF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#AAAF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF37
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF37 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA724
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#B6A497
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf37; /* rgb */ color: rgb(170, 175, 55); /* oklch */ color: oklch(72.8% 0.140 111.7);
Tailwind
colors: {
custom: {
50: '#c6c675',
500: '#aaaf37',
950: '#000000',
},
}SCSS
$custom: #aaaf37; $custom-light: #c6c675; $custom-dark: #000000;
JSON
{
"hex": "#aaaf37",
"rgb": {
"r": 170,
"g": 175,
"b": 55
},
"hsl": {
"h": 62.5,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.72783,
"c": 0.13962,
"h": 111.7
},
"luminance": 0.39482
}Semantic roles & 50–950 ramp
primary
#AAAF37
secondary
#817FC3
accent
#4CDC52
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B