#AAAB2B#AAAB2B
#AAAB2B is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.8% C 0.143 H 110.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAB2B |
|---|---|
| RGB | rgb(170, 171, 43) |
| HSL | hsl(60, 60%, 42%) |
| HSV | hsv(60, 75%, 67%) |
| CMYK | cmyk(0.6%, 0%, 74.9%, 32.9%) |
| CIE-LAB | lab(67.91, -15.37, 61.16) |
| CIE-LCH | lch(67.91, 63.06, 104.11°) |
| OKLab | oklab(71.81% -0.0488 0.1343) |
| OKLCH | oklch(71.81% 0.143 110) |
| XYZ | xyz(31.5777, 37.8472, 7.9269) |
| Luminance | 0.3785 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.37
Puke
#A5A502
ΔE00 2.57
Mustard Green
#A8B504
ΔE00 4.06
Puke Green
#9AAE07
ΔE00 4.44
Pea Soup Green
#94A617
ΔE00 4.69
Snot
#ACBB0D
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAB2B #2C2BAB
analogous
#AB6C2B #AAAB2B #6AAB2B
triadic
#AAAB2B #2BAAAB #AB2BAA
tetradic
#AAAB2B #2BAB6C #2C2BAB #AB2B6A
square
#AAAB2B #2BAB6C #2C2BAB #AB2B6A
split-complementary
#AAAB2B #2B6AAB #6C2BAB
monochromatic
#494912 #797A1F #AAAB2B #CFD043 #DBDC74
Accessibility & contrast
On white
2.45
#AAAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#AAAB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAB2B
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAB2B | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A30E
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#B6A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aaab2b; /* rgb */ color: rgb(170, 171, 43); /* oklch */ color: oklch(71.8% 0.143 110.0);
Tailwind
colors: {
custom: {
50: '#c7c36f',
500: '#aaab2b',
950: '#000000',
},
}SCSS
$custom: #aaab2b; $custom-light: #c7c36f; $custom-dark: #000000;
JSON
{
"hex": "#aaab2b",
"rgb": {
"r": 170,
"g": 171,
"b": 43
},
"hsl": {
"h": 60.469,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.71807,
"c": 0.14292,
"h": 110
},
"luminance": 0.37846
}Semantic roles & 50–950 ramp
primary
#AAAB2B
secondary
#6F6EC4
accent
#45E346
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B