#AAB031#AAB031
#AAB031 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.145 H 112.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB031 |
|---|---|
| RGB | rgb(170, 176, 49) |
| HSL | hsl(63, 56%, 44%) |
| HSV | hsv(63, 72%, 69%) |
| CMYK | cmyk(3.4%, 0%, 72.2%, 31%) |
| CIE-LAB | lab(69.34, -17.64, 60.44) |
| CIE-LCH | lch(69.34, 62.96, 106.27°) |
| OKLab | oklab(72.96% -0.0546 0.1339) |
| OKLCH | oklch(72.96% 0.145 112.2) |
| XYZ | xyz(32.6583, 39.8192, 8.8707) |
| Luminance | 0.3982 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.08
Puke Green
#9AAE07
ΔE00 3.67
Vomit
#A2A415
ΔE00 3.75
Puke
#A5A502
ΔE00 4.02
Snot
#ACBB0D
ΔE00 4.06
Pea Soup Green
#94A617
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB031 #3731B0
analogous
#B07731 #AAB031 #6BB031
triadic
#AAB031 #31AAB0 #B031AA
tetradic
#AAB031 #31B077 #3731B0 #B0316B
square
#AAB031 #31B077 #3731B0 #B0316B
split-complementary
#AAB031 #316BB0 #7731B0
monochromatic
#4E5016 #7C8024 #AAB031 #C8CE50 #D7DC80
Accessibility & contrast
On white
2.34
#AAB031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#AAB031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB031
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB031 | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B6A597
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aab031; /* rgb */ color: rgb(170, 176, 49); /* oklch */ color: oklch(73.0% 0.145 112.2);
Tailwind
colors: {
custom: {
50: '#c7c772',
500: '#aab031',
950: '#000000',
},
}SCSS
$custom: #aab031; $custom-light: #c7c772; $custom-dark: #000000;
JSON
{
"hex": "#aab031",
"rgb": {
"r": 170,
"g": 176,
"b": 49
},
"hsl": {
"h": 62.835,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.72964,
"c": 0.14458,
"h": 112.2
},
"luminance": 0.39818
}Semantic roles & 50–950 ramp
primary
#AAB031
secondary
#7C78C5
accent
#48E04F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B