#AAB531#AAB531
#AAB531 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.150 H 114.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB531 |
|---|---|
| RGB | rgb(170, 181, 49) |
| HSL | hsl(65, 57%, 45%) |
| HSV | hsv(65, 73%, 71%) |
| CMYK | cmyk(6.1%, 0%, 72.9%, 29%) |
| CIE-LAB | lab(70.74, -20.16, 61.79) |
| CIE-LCH | lch(70.74, 64.99, 108.07°) |
| OKLab | oklab(74.09% -0.0616 0.1367) |
| OKLCH | oklch(74.09% 0.15 114.3) |
| XYZ | xyz(33.6568, 41.8162, 9.2035) |
| Luminance | 0.4182 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.41
Snot
#ACBB0D
ΔE00 2.88
Puke Green
#9AAE07
ΔE00 3.43
Sick Green
#9DB92C
ΔE00 3.61
Pea
#A4BF20
ΔE00 3.92
Booger
#9BB53C
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB531 #3C31B5
analogous
#B57E31 #AAB531 #68B531
triadic
#AAB531 #31AAB5 #B531AA
tetradic
#AAB531 #31B57E #3C31B5 #B53168
square
#AAB531 #31B57E #3C31B5 #B53168
split-complementary
#AAB531 #3168B5 #7E31B5
monochromatic
#505517 #7D8524 #AAB531 #C6D053 #D6DD83
Accessibility & contrast
On white
2.24
#AAB531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#AAB531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB531
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB531 | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#B5AA9C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #aab531; /* rgb */ color: rgb(170, 181, 49); /* oklch */ color: oklch(74.1% 0.150 114.3);
Tailwind
colors: {
custom: {
50: '#c7cb73',
500: '#aab531',
950: '#000000',
},
}SCSS
$custom: #aab531; $custom-light: #c7cb73; $custom-dark: #000000;
JSON
{
"hex": "#aab531",
"rgb": {
"r": 170,
"g": 181,
"b": 49
},
"hsl": {
"h": 65,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.74088,
"c": 0.14996,
"h": 114.3
},
"luminance": 0.41816
}Semantic roles & 50–950 ramp
primary
#AAB531
secondary
#817BC7
accent
#47E154
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B