#AAAF3B#AAAF3B
#AAAF3B is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.137 H 111.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF3B |
|---|---|
| RGB | rgb(170, 175, 59) |
| HSL | hsl(63, 50%, 46%) |
| HSV | hsv(63, 66%, 69%) |
| CMYK | cmyk(2.9%, 0%, 66.3%, 31.4%) |
| CIE-LAB | lab(69.13, -16.59, 56.41) |
| CIE-LCH | lch(69.13, 58.80, 106.38°) |
| OKLab | oklab(72.82% -0.0506 0.1271) |
| OKLCH | oklch(72.82% 0.137 111.7) |
| XYZ | xyz(32.6979, 39.5225, 10.0430) |
| Luminance | 0.3952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.04
Mustard Green
#A8B504
ΔE00 4.16
Puke Green
#9AAE07
ΔE00 4.36
Puke
#A5A502
ΔE00 4.51
Pea Soup Green
#94A617
ΔE00 4.78
Booger
#9BB53C
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF3B #403BAF
analogous
#AF7A3B #AAAF3B #70AF3B
triadic
#AAAF3B #3BAAAF #AF3BAA
tetradic
#AAAF3B #3BAF7A #403BAF #AF3B70
square
#AAAF3B #3BAF7A #403BAF #AF3B70
split-complementary
#AAAF3B #3B70AF #7A3BAF
monochromatic
#51531C #7E812C #AAAF3B #C4C95E #D5D88C
Accessibility & contrast
On white
2.36
#AAAF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#AAAF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF3B
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF3B | 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)
#BCA72B
Deuteranopia (green-blind)
#BDAA43
Tritanopia (blue-blind)
#B5A597
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf3b; /* rgb */ color: rgb(170, 175, 59); /* oklch */ color: oklch(72.8% 0.137 111.7);
Tailwind
colors: {
custom: {
50: '#c6c677',
500: '#aaaf3b',
950: '#000000',
},
}SCSS
$custom: #aaaf3b; $custom-light: #c6c677; $custom-dark: #000000;
JSON
{
"hex": "#aaaf3b",
"rgb": {
"r": 170,
"g": 175,
"b": 59
},
"hsl": {
"h": 62.586,
"s": 49.573,
"l": 45.882
},
"oklch": {
"l": 0.72815,
"c": 0.13678,
"h": 111.7
},
"luminance": 0.39522
}Semantic roles & 50–950 ramp
primary
#AAAF3B
secondary
#8683C3
accent
#4FD955
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B