#ABAE21#ABAE21
#ABAE21 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.5% C 0.151 H 110.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAE21 |
|---|---|
| RGB | rgb(171, 174, 33) |
| HSL | hsl(61, 68%, 41%) |
| HSV | hsv(61, 81%, 68%) |
| CMYK | cmyk(1.7%, 0%, 81%, 31.8%) |
| CIE-LAB | lab(68.78, -16.85, 65.01) |
| CIE-LCH | lch(68.78, 67.16, 104.53°) |
| OKLab | oklab(72.51% -0.0538 0.1407) |
| OKLCH | oklch(72.51% 0.151 110.9) |
| XYZ | xyz(32.2063, 39.0407, 7.2776) |
| Luminance | 0.3904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.78
Mustard Green
#A8B504
ΔE00 2.89
Vomit
#A2A415
ΔE00 2.91
Puke Green
#9AAE07
ΔE00 3.92
Snot
#ACBB0D
ΔE00 4.16
Pea Soup Green
#94A617
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAE21 #2421AE
analogous
#AE6B21 #ABAE21 #64AE21
triadic
#ABAE21 #21ABAE #AE21AB
tetradic
#ABAE21 #21AE6B #2421AE #AE2164
square
#ABAE21 #21AE6B #2421AE #AE2164
split-complementary
#ABAE21 #2164AE #6B21AE
monochromatic
#46470D #787B17 #ABAE21 #D5D834 #E0E267
Accessibility & contrast
On white
2.38
#ABAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#ABAE21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAE21
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAE21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAE21 | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BDAA2F
Tritanopia (blue-blind)
#B7A395
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #abae21; /* rgb */ color: rgb(171, 174, 33); /* oklch */ color: oklch(72.5% 0.151 110.9);
Tailwind
colors: {
custom: {
50: '#c8c56b',
500: '#abae21',
950: '#000000',
},
}SCSS
$custom: #abae21; $custom-light: #c8c56b; $custom-dark: #000000;
JSON
{
"hex": "#abae21",
"rgb": {
"r": 171,
"g": 174,
"b": 33
},
"hsl": {
"h": 61.277,
"s": 68.116,
"l": 40.588
},
"oklch": {
"l": 0.7251,
"c": 0.1506,
"h": 110.9
},
"luminance": 0.3904
}Semantic roles & 50–950 ramp
primary
#ABAE21
secondary
#6563C8
accent
#3DEB41
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A