#BABD33#BABD33
#BABD33 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.153 H 110.8°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #BABD33 |
|---|---|
| RGB | rgb(186, 189, 51) |
| HSL | hsl(61, 58%, 47%) |
| HSV | hsv(61, 73%, 74%) |
| CMYK | cmyk(1.6%, 0%, 73%, 25.9%) |
| CIE-LAB | lab(74.24, -17.26, 64.87) |
| CIE-LCH | lch(74.24, 67.12, 104.90°) |
| OKLab | oklab(77.2% -0.0542 0.143) |
| OKLCH | oklch(77.2% 0.153 110.8) |
| XYZ | xyz(39.0462, 47.0744, 10.1608) |
| Luminance | 0.4707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.14
Snot
#ACBB0D
ΔE00 3.17
Bile
#B5C306
ΔE00 3.31
Baby Puke Green
#B6C406
ΔE00 3.43
Mustard Green
#A8B504
ΔE00 3.75
Vomit Yellow
#C7C10C
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABD33 #3633BD
analogous
#BD7B33 #BABD33 #75BD33
triadic
#BABD33 #33BABD #BD33BA
tetradic
#BABD33 #33BD7B #3633BD #BD3375
square
#BABD33 #33BD7B #3633BD #BD3375
split-complementary
#BABD33 #3375BD #7B33BD
monochromatic
#5B5D19 #8B8D26 #BABD33 #D0D35B #DEE08B
Accessibility & contrast
On white
2.02
#BABD33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#BABD33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABD33
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABD33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABD33 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB517
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#C7B1A3
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #babd33; /* rgb */ color: rgb(186, 189, 51); /* oklch */ color: oklch(77.2% 0.153 110.8);
Tailwind
colors: {
custom: {
50: '#d2d075',
500: '#babd33',
950: '#000000',
},
}SCSS
$custom: #babd33; $custom-light: #d2d075; $custom-dark: #000000;
JSON
{
"hex": "#babd33",
"rgb": {
"r": 186,
"g": 189,
"b": 51
},
"hsl": {
"h": 61.304,
"s": 57.5,
"l": 47.059
},
"oklch": {
"l": 0.77198,
"c": 0.15297,
"h": 110.8
},
"luminance": 0.47073
}Semantic roles & 50–950 ramp
primary
#BABD33
secondary
#8482CA
accent
#47E14A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B