#AABF31#AABF31
#AABF31 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.4% C 0.161 H 117.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AABF31 |
|---|---|
| RGB | rgb(170, 191, 49) |
| HSL | hsl(69, 59%, 47%) |
| HSV | hsv(69, 74%, 75%) |
| CMYK | cmyk(11%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(73.56, -25.09, 64.47) |
| CIE-LCH | lch(73.56, 69.18, 111.26°) |
| OKLab | oklab(76.35% -0.0752 0.1424) |
| OKLCH | oklch(76.35% 0.161 117.9) |
| XYZ | xyz(35.7636, 46.0298, 9.9057) |
| Luminance | 0.4603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.44
Gross Green
#A0BF16
ΔE00 2.21
Sick Green
#9DB92C
ΔE00 2.51
Snot
#ACBB0D
ΔE00 2.74
Bright Olive
#9CBB04
ΔE00 2.82
Snot Green
#9DC100
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AABF31 #4631BF
analogous
#BF8D31 #AABF31 #63BF31
triadic
#AABF31 #31AABF #BF31AA
tetradic
#AABF31 #31BF8D #4631BF #BF3163
square
#AABF31 #31BF8D #4631BF #BF3163
split-complementary
#AABF31 #3163BF #8D31BF
monochromatic
#535E18 #7F8E25 #AABF31 #C2D459 #D4E18A
Accessibility & contrast
On white
2.06
#AABF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#AABF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AABF31
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AABF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AABF31 | 1.00 | 2.06 | 10.21 | 10.21 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB411
Deuteranopia (green-blind)
#CAB53D
Tritanopia (blue-blind)
#B4B4A4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #aabf31; /* rgb */ color: rgb(170, 191, 49); /* oklch */ color: oklch(76.4% 0.161 117.9);
Tailwind
colors: {
custom: {
50: '#c7d274',
500: '#aabf31',
950: '#000000',
},
}SCSS
$custom: #aabf31; $custom-light: #c7d274; $custom-dark: #000000;
JSON
{
"hex": "#aabf31",
"rgb": {
"r": 170,
"g": 191,
"b": 49
},
"hsl": {
"h": 68.873,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.76353,
"c": 0.16105,
"h": 117.9
},
"luminance": 0.46029
}Semantic roles & 50–950 ramp
primary
#AABF31
secondary
#8C81CB
accent
#45E25D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131409
muted
#82827B