#AABA40#AABA40
#AABA40 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.146 H 116.4°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AABA40 |
|---|---|
| RGB | rgb(170, 186, 64) |
| HSL | hsl(68, 49%, 49%) |
| HSV | hsv(68, 66%, 73%) |
| CMYK | cmyk(8.6%, 0%, 65.6%, 27.1%) |
| CIE-LAB | lab(72.25, -21.80, 57.61) |
| CIE-LCH | lch(72.25, 61.60, 110.72°) |
| OKLab | oklab(75.33% -0.0647 0.1304) |
| OKLCH | oklch(75.33% 0.146 116.4) |
| XYZ | xyz(35.0627, 44.0345, 11.5019) |
| Luminance | 0.4403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.81
Booger
#9BB53C
ΔE00 2.98
Pea
#A4BF20
ΔE00 3.34
Snot
#ACBB0D
ΔE00 3.85
Gross Green
#A0BF16
ΔE00 3.98
Mustard Green
#A8B504
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AABA40 #5040BA
analogous
#BA8D40 #AABA40 #6DBA40
triadic
#AABA40 #40AABA #BA40AA
tetradic
#AABA40 #40BA8D #5040BA #BA406D
square
#AABA40 #40BA8D #5040BA #BA406D
split-complementary
#AABA40 #406DBA #8D40BA
monochromatic
#575F21 #808C30 #AABA40 #BFCC6B #D3DC99
Accessibility & contrast
On white
2.14
#AABA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#AABA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AABA40
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AABA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AABA40 | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B12F
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#B4B0A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #aaba40; /* rgb */ color: rgb(170, 186, 64); /* oklch */ color: oklch(75.3% 0.146 116.4);
Tailwind
colors: {
custom: {
50: '#c6ce7b',
500: '#aaba40',
950: '#000000',
},
}SCSS
$custom: #aaba40; $custom-light: #c6ce7b; $custom-dark: #000000;
JSON
{
"hex": "#aaba40",
"rgb": {
"r": 170,
"g": 186,
"b": 64
},
"hsl": {
"h": 67.869,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.75329,
"c": 0.14556,
"h": 116.4
},
"luminance": 0.44034
}Semantic roles & 50–950 ramp
primary
#AABA40
secondary
#968EC8
accent
#4FD861
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C