#AABF40#AABF40
#AABF40 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.5% C 0.151 H 118.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AABF40 |
|---|---|
| RGB | rgb(170, 191, 64) |
| HSL | hsl(70, 50%, 50%) |
| HSV | hsv(70, 66%, 75%) |
| CMYK | cmyk(11%, 0%, 66.5%, 25.1%) |
| CIE-LAB | lab(73.66, -24.26, 59.08) |
| CIE-LCH | lch(73.66, 63.86, 112.32°) |
| OKLab | oklab(76.46% -0.0716 0.1335) |
| OKLCH | oklch(76.46% 0.151 118.2) |
| XYZ | xyz(36.1345, 46.1781, 11.8592) |
| Luminance | 0.4618 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.59
Sick Green
#9DB92C
ΔE00 2.60
Gross Green
#A0BF16
ΔE00 3.20
Booger
#9BB53C
ΔE00 3.32
Bright Olive
#9CBB04
ΔE00 3.78
Snot
#ACBB0D
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AABF40 #5540BF
analogous
#BF9440 #AABF40 #6BBF40
triadic
#AABF40 #40AABF #BF40AA
tetradic
#AABF40 #40BF94 #5540BF #BF406B
square
#AABF40 #40BF94 #5540BF #BF406B
split-complementary
#AABF40 #406BBF #9440BF
monochromatic
#586321 #819131 #AABF40 #BECE6E #D3DE9C
Accessibility & contrast
On white
2.05
#AABF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.24
#AABF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AABF40
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AABF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AABF40 | 1.00 | 2.05 | 10.24 | 10.24 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#C9B649
Tritanopia (blue-blind)
#B4B5A5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #aabf40; /* rgb */ color: rgb(170, 191, 64); /* oklch */ color: oklch(76.5% 0.151 118.2);
Tailwind
colors: {
custom: {
50: '#c6d27c',
500: '#aabf40',
950: '#000000',
},
}SCSS
$custom: #aabf40; $custom-light: #c6d27c; $custom-dark: #000000;
JSON
{
"hex": "#aabf40",
"rgb": {
"r": 170,
"g": 191,
"b": 64
},
"hsl": {
"h": 69.921,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.76461,
"c": 0.15144,
"h": 118.2
},
"luminance": 0.46178
}Semantic roles & 50–950 ramp
primary
#AABF40
secondary
#9A91CA
accent
#4ED965
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C