#AABA31#AABA31
#AABA31 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.2% C 0.155 H 116.1°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AABA31 |
|---|---|
| RGB | rgb(170, 186, 49) |
| HSL | hsl(67, 58%, 46%) |
| HSV | hsv(67, 74%, 73%) |
| CMYK | cmyk(8.6%, 0%, 73.7%, 27.1%) |
| CIE-LAB | lab(72.15, -22.64, 63.13) |
| CIE-LCH | lch(72.15, 67.07, 109.73°) |
| OKLab | oklab(75.22% -0.0685 0.1396) |
| OKLCH | oklch(75.22% 0.155 116.1) |
| XYZ | xyz(34.6917, 43.8861, 9.5485) |
| Luminance | 0.4389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.35
Pea
#A4BF20
ΔE00 2.48
Sick Green
#9DB92C
ΔE00 2.67
Mustard Green
#A8B504
ΔE00 2.73
Gross Green
#A0BF16
ΔE00 3.17
Bright Olive
#9CBB04
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AABA31 #4131BA
analogous
#BA8531 #AABA31 #65BA31
triadic
#AABA31 #31AABA #BA31AA
tetradic
#AABA31 #31BA85 #4131BA #BA3165
square
#AABA31 #31BA85 #4131BA #BA3165
split-complementary
#AABA31 #3165BA #8531BA
monochromatic
#515917 #7E8A24 #AABA31 #C4D256 #D5DF86
Accessibility & contrast
On white
2.15
#AABA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#AABA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AABA31
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AABA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AABA31 | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B5AFA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #aaba31; /* rgb */ color: rgb(170, 186, 49); /* oklch */ color: oklch(75.2% 0.155 116.1);
Tailwind
colors: {
custom: {
50: '#c7ce73',
500: '#aaba31',
950: '#000000',
},
}SCSS
$custom: #aaba31; $custom-light: #c7ce73; $custom-dark: #000000;
JSON
{
"hex": "#aaba31",
"rgb": {
"r": 170,
"g": 186,
"b": 49
},
"hsl": {
"h": 67.007,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.75218,
"c": 0.15546,
"h": 116.1
},
"luminance": 0.43886
}Semantic roles & 50–950 ramp
primary
#AABA31
secondary
#877EC9
accent
#46E258
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131309
muted
#82827B