#AABB40#AABB40
#AABB40 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.6% C 0.147 H 116.8°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AABB40 |
|---|---|
| RGB | rgb(170, 187, 64) |
| HSL | hsl(68, 49%, 49%) |
| HSV | hsv(68, 66%, 73%) |
| CMYK | cmyk(9.1%, 0%, 65.8%, 26.7%) |
| CIE-LAB | lab(72.53, -22.29, 57.91) |
| CIE-LCH | lch(72.53, 62.05, 111.06°) |
| OKLab | oklab(75.56% -0.0661 0.131) |
| OKLCH | oklch(75.56% 0.147 116.8) |
| XYZ | xyz(35.2741, 44.4573, 11.5724) |
| Luminance | 0.4446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.69
Booger
#9BB53C
ΔE00 2.98
Pea
#A4BF20
ΔE00 3.14
Gross Green
#A0BF16
ΔE00 3.78
Snot
#ACBB0D
ΔE00 3.84
Bright Olive
#9CBB04
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AABB40 #5140BB
analogous
#BB8F40 #AABB40 #6DBB40
triadic
#AABB40 #40AABB #BB40AA
tetradic
#AABB40 #40BB8F #5140BB #BB406D
square
#AABB40 #40BB8F #5140BB #BB406D
split-complementary
#AABB40 #406DBB #8F40BB
monochromatic
#576021 #818D30 #AABB40 #BFCD6C #D3DC99
Accessibility & contrast
On white
2.12
#AABB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#AABB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AABB40
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AABB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AABB40 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#B4B1A2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #aabb40; /* rgb */ color: rgb(170, 187, 64); /* oklch */ color: oklch(75.6% 0.147 116.8);
Tailwind
colors: {
custom: {
50: '#c6cf7b',
500: '#aabb40',
950: '#000000',
},
}SCSS
$custom: #aabb40; $custom-light: #c6cf7b; $custom-dark: #000000;
JSON
{
"hex": "#aabb40",
"rgb": {
"r": 170,
"g": 187,
"b": 64
},
"hsl": {
"h": 68.293,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.75555,
"c": 0.14673,
"h": 116.8
},
"luminance": 0.44457
}Semantic roles & 50–950 ramp
primary
#AABB40
secondary
#978FC8
accent
#4FD962
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C