#ABAB29#ABAB29
#ABAB29 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.9% C 0.144 H 109.5°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAB29 |
|---|---|
| RGB | rgb(171, 171, 41) |
| HSL | hsl(60, 61%, 42%) |
| HSV | hsv(60, 76%, 67%) |
| CMYK | cmyk(0%, 0%, 76%, 32.9%) |
| CIE-LAB | lab(67.98, -15.02, 61.91) |
| CIE-LCH | lch(67.98, 63.71, 103.64°) |
| OKLab | oklab(71.88% -0.0481 0.1355) |
| OKLCH | oklch(71.88% 0.144 109.5) |
| XYZ | xyz(31.7589, 37.9448, 7.7485) |
| Luminance | 0.3794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.37
Puke
#A5A502
ΔE00 2.43
Mustard Green
#A8B504
ΔE00 4.09
Puke Green
#9AAE07
ΔE00 4.64
Pea Soup Green
#94A617
ΔE00 4.94
Snot
#ACBB0D
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAB29 #2929AB
analogous
#AB6A29 #ABAB29 #6AAB29
triadic
#ABAB29 #29ABAB #AB29AB
tetradic
#ABAB29 #29AB6A #2929AB #AB296A
square
#ABAB29 #29AB6A #2929AB #AB296A
split-complementary
#ABAB29 #296AAB #6A29AB
monochromatic
#484811 #7A7A1D #ABAB29 #D1D140 #DDDD71
Accessibility & contrast
On white
2.45
#ABAB29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#ABAB29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAB29
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAB29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAB29 | 1.00 | 2.45 | 8.59 | 8.59 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A407
Deuteranopia (green-blind)
#BBA734
Tritanopia (blue-blind)
#B7A093
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #abab29; /* rgb */ color: rgb(171, 171, 41); /* oklch */ color: oklch(71.9% 0.144 109.5);
Tailwind
colors: {
custom: {
50: '#c8c36e',
500: '#abab29',
950: '#000000',
},
}SCSS
$custom: #abab29; $custom-light: #c8c36e; $custom-dark: #000000;
JSON
{
"hex": "#abab29",
"rgb": {
"r": 171,
"g": 171,
"b": 41
},
"hsl": {
"h": 60,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.71881,
"c": 0.14378,
"h": 109.5
},
"luminance": 0.37944
}Semantic roles & 50–950 ramp
primary
#ABAB29
secondary
#6C6CC4
accent
#43E443
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B