#AABA42#AABA42
#AABA42 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.3% C 0.144 H 116.5°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AABA42 |
|---|---|
| RGB | rgb(170, 186, 66) |
| HSL | hsl(68, 48%, 49%) |
| HSV | hsv(68, 65%, 73%) |
| CMYK | cmyk(8.6%, 0%, 64.5%, 27.1%) |
| CIE-LAB | lab(72.27, -21.67, 56.81) |
| CIE-LCH | lch(72.27, 60.80, 110.88°) |
| OKLab | oklab(75.35% -0.0642 0.129) |
| OKLCH | oklch(75.35% 0.144 116.5) |
| XYZ | xyz(35.1206, 44.0577, 11.8070) |
| Luminance | 0.4406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.90
Booger
#9BB53C
ΔE00 2.93
Pea
#A4BF20
ΔE00 3.51
Snot
#ACBB0D
ΔE00 4.08
Gross Green
#A0BF16
ΔE00 4.14
Mustard Green
#A8B504
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AABA42 #5242BA
analogous
#BA8E42 #AABA42 #6EBA42
triadic
#AABA42 #42AABA #BA42AA
tetradic
#AABA42 #42BA8E #5242BA #BA426E
square
#AABA42 #42BA8E #5242BA #BA426E
split-complementary
#AABA42 #426EBA #8E42BA
monochromatic
#576022 #818D32 #AABA42 #BFCB6E #D3DB9B
Accessibility & contrast
On white
2.14
#AABA42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#AABA42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AABA42
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AABA42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AABA42 | 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)
#C6B132
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#B4B0A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #aaba42; /* rgb */ color: rgb(170, 186, 66); /* oklch */ color: oklch(75.3% 0.144 116.5);
Tailwind
colors: {
custom: {
50: '#c6ce7c',
500: '#aaba42',
950: '#000000',
},
}SCSS
$custom: #aaba42; $custom-light: #c6ce7c; $custom-dark: #000000;
JSON
{
"hex": "#aaba42",
"rgb": {
"r": 170,
"g": 186,
"b": 66
},
"hsl": {
"h": 68,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.75347,
"c": 0.14406,
"h": 116.5
},
"luminance": 0.44057
}Semantic roles & 50–950 ramp
primary
#AABA42
secondary
#9890C8
accent
#51D763
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C