#AAB31E#AAB31E
#AAB31E is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.157 H 113.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB31E |
|---|---|
| RGB | rgb(170, 179, 30) |
| HSL | hsl(64, 71%, 41%) |
| HSV | hsv(64, 83%, 70%) |
| CMYK | cmyk(5%, 0%, 83.2%, 29.8%) |
| CIE-LAB | lab(70.09, -19.90, 66.88) |
| CIE-LCH | lch(70.09, 69.77, 106.57°) |
| OKLab | oklab(73.54% -0.0624 0.1442) |
| OKLCH | oklch(73.54% 0.157 113.4) |
| XYZ | xyz(32.9331, 40.8807, 7.3840) |
| Luminance | 0.4088 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.30
Snot
#ACBB0D
ΔE00 2.46
Puke Green
#9AAE07
ΔE00 3.13
Puke
#A5A502
ΔE00 4.28
Barf Green
#94AC02
ΔE00 4.30
Vomit
#A2A415
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB31E #271EB3
analogous
#B3711E #AAB31E #5FB31E
triadic
#AAB31E #1EAAB3 #B31EAA
tetradic
#AAB31E #1EB371 #271EB3 #B31E5F
square
#AAB31E #1EB371 #271EB3 #B31E5F
split-complementary
#AAB31E #1E5FB3 #711EB3
monochromatic
#464A0C #787F15 #AAB31E #D2DD32 #DEE566
Accessibility & contrast
On white
2.29
#AAB31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#AAB31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB31E
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB31E | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AD2E
Tritanopia (blue-blind)
#B6A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aab31e; /* rgb */ color: rgb(170, 179, 30); /* oklch */ color: oklch(73.5% 0.157 113.4);
Tailwind
colors: {
custom: {
50: '#c7c96a',
500: '#aab31e',
950: '#000000',
},
}SCSS
$custom: #aab31e; $custom-light: #c7c96a; $custom-dark: #000000;
JSON
{
"hex": "#aab31e",
"rgb": {
"r": 170,
"g": 179,
"b": 30
},
"hsl": {
"h": 63.624,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.73537,
"c": 0.15713,
"h": 113.4
},
"luminance": 0.4088
}Semantic roles & 50–950 ramp
primary
#AAB31E
secondary
#6962CB
accent
#3AEE45
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A