#AAB31A#AAB31A
#AAB31A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.159 H 113.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB31A |
|---|---|
| RGB | rgb(170, 179, 26) |
| HSL | hsl(64, 75%, 40%) |
| HSV | hsv(64, 85%, 70%) |
| CMYK | cmyk(5%, 0%, 85.5%, 29.8%) |
| CIE-LAB | lab(70.08, -20.02, 67.79) |
| CIE-LCH | lch(70.08, 70.68, 106.45°) |
| OKLab | oklab(73.52% -0.0629 0.1456) |
| OKLCH | oklch(73.52% 0.159 113.4) |
| XYZ | xyz(32.8852, 40.8616, 7.1318) |
| Luminance | 0.4086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.15
Snot
#ACBB0D
ΔE00 2.39
Puke Green
#9AAE07
ΔE00 3.15
Puke
#A5A502
ΔE00 4.23
Barf Green
#94AC02
ΔE00 4.33
Vomit
#A2A415
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB31A #231AB3
analogous
#B36F1A #AAB31A #5EB31A
triadic
#AAB31A #1AAAB3 #B31AAA
tetradic
#AAB31A #1AB36F #231AB3 #B31A5E
square
#AAB31A #1AB36F #231AB3 #B31A5E
split-complementary
#AAB31A #1A5EB3 #6F1AB3
monochromatic
#44480A #777E12 #AAB31A #D5E02A #E0E860
Accessibility & contrast
On white
2.29
#AAB31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#AAB31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB31A
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB31A | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AD2B
Tritanopia (blue-blind)
#B6A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aab31a; /* rgb */ color: rgb(170, 179, 26); /* oklch */ color: oklch(73.5% 0.159 113.4);
Tailwind
colors: {
custom: {
50: '#c7c969',
500: '#aab31a',
950: '#000000',
},
}SCSS
$custom: #aab31a; $custom-light: #c7c969; $custom-dark: #000000;
JSON
{
"hex": "#aab31a",
"rgb": {
"r": 170,
"g": 179,
"b": 26
},
"hsl": {
"h": 63.529,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.73522,
"c": 0.15857,
"h": 113.4
},
"luminance": 0.40861
}Semantic roles & 50–950 ramp
primary
#AAB31A
secondary
#635DCC
accent
#37F142
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A