#AAB31D#AAB31D
#AAB31D is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.158 H 113.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB31D |
|---|---|
| RGB | rgb(170, 179, 29) |
| HSL | hsl(64, 72%, 41%) |
| HSV | hsv(64, 84%, 70%) |
| CMYK | cmyk(5%, 0%, 83.8%, 29.8%) |
| CIE-LAB | lab(70.09, -19.93, 67.11) |
| CIE-LCH | lch(70.09, 70.01, 106.54°) |
| OKLab | oklab(73.53% -0.0625 0.1446) |
| OKLCH | oklch(73.53% 0.158 113.4) |
| XYZ | xyz(32.9205, 40.8757, 7.3178) |
| Luminance | 0.4088 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.26
Snot
#ACBB0D
ΔE00 2.44
Puke Green
#9AAE07
ΔE00 3.13
Puke
#A5A502
ΔE00 4.27
Barf Green
#94AC02
ΔE00 4.30
Vomit
#A2A415
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB31D #261DB3
analogous
#B3711D #AAB31D #5FB31D
triadic
#AAB31D #1DAAB3 #B31DAA
tetradic
#AAB31D #1DB371 #261DB3 #B31D5F
square
#AAB31D #1DB371 #261DB3 #B31D5F
split-complementary
#AAB31D #1D5FB3 #711DB3
monochromatic
#464A0C #787E14 #AAB31D #D3DD30 #DEE664
Accessibility & contrast
On white
2.29
#AAB31D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#AAB31D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB31D
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB31D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB31D | 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)
#C1AD2D
Tritanopia (blue-blind)
#B6A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aab31d; /* rgb */ color: rgb(170, 179, 29); /* oklch */ color: oklch(73.5% 0.158 113.4);
Tailwind
colors: {
custom: {
50: '#c7c96a',
500: '#aab31d',
950: '#000000',
},
}SCSS
$custom: #aab31d; $custom-light: #c7c96a; $custom-dark: #000000;
JSON
{
"hex": "#aab31d",
"rgb": {
"r": 170,
"g": 179,
"b": 29
},
"hsl": {
"h": 63.6,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.73533,
"c": 0.15751,
"h": 113.4
},
"luminance": 0.40875
}Semantic roles & 50–950 ramp
primary
#AAB31D
secondary
#6761CB
accent
#39EF44
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A