#AAAF2B#AAAF2B
#AAAF2B is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.147 H 111.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF2B |
|---|---|
| RGB | rgb(170, 175, 43) |
| HSL | hsl(62, 61%, 43%) |
| HSV | hsv(62, 75%, 69%) |
| CMYK | cmyk(2.9%, 0%, 75.4%, 31.4%) |
| CIE-LAB | lab(69.03, -17.41, 62.20) |
| CIE-LCH | lch(69.03, 64.59, 105.64°) |
| OKLab | oklab(72.7% -0.0545 0.1365) |
| OKLCH | oklch(72.7% 0.147 111.8) |
| XYZ | xyz(32.3447, 39.3812, 8.1825) |
| Luminance | 0.3938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.91
Vomit
#A2A415
ΔE00 3.30
Puke
#A5A502
ΔE00 3.47
Puke Green
#9AAE07
ΔE00 3.63
Snot
#ACBB0D
ΔE00 4.05
Pea Soup Green
#94A617
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF2B #302BAF
analogous
#AF722B #AAAF2B #68AF2B
triadic
#AAAF2B #2BAAAF #AF2BAA
tetradic
#AAAF2B #2BAF72 #302BAF #AF2B68
square
#AAAF2B #2BAF72 #302BAF #AF2B68
split-complementary
#AAAF2B #2B68AF #722BAF
monochromatic
#4B4D13 #7A7E1F #AAAF2B #CCD146 #DADE77
Accessibility & contrast
On white
2.37
#AAAF2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#AAAF2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF2B
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF2B | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA70B
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #aaaf2b; /* rgb */ color: rgb(170, 175, 43); /* oklch */ color: oklch(72.7% 0.147 111.8);
Tailwind
colors: {
custom: {
50: '#c7c66f',
500: '#aaaf2b',
950: '#000000',
},
}SCSS
$custom: #aaaf2b; $custom-light: #c7c66f; $custom-dark: #000000;
JSON
{
"hex": "#aaaf2b",
"rgb": {
"r": 170,
"g": 175,
"b": 43
},
"hsl": {
"h": 62.273,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.72702,
"c": 0.147,
"h": 111.8
},
"luminance": 0.3938
}Semantic roles & 50–950 ramp
primary
#AAAF2B
secondary
#7470C5
accent
#44E44A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B