#BABE26#BABE26
#BABE26 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.161 H 111.2°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BABE26 |
|---|---|
| RGB | rgb(186, 190, 38) |
| HSL | hsl(62, 67%, 45%) |
| HSV | hsv(62, 80%, 75%) |
| CMYK | cmyk(2.1%, 0%, 80%, 25.5%) |
| CIE-LAB | lab(74.45, -18.28, 69.06) |
| CIE-LCH | lch(74.45, 71.43, 104.82°) |
| OKLab | oklab(77.35% -0.0581 0.1496) |
| OKLCH | oklch(77.35% 0.161 111.2) |
| XYZ | xyz(39.0144, 47.4070, 8.9287) |
| Luminance | 0.4741 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.50
Bile
#B5C306
ΔE00 2.52
Baby Puke Green
#B6C406
ΔE00 2.64
Snot
#ACBB0D
ΔE00 2.78
Vomit Yellow
#C7C10C
ΔE00 3.29
Mustard Green
#A8B504
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABE26 #2A26BE
analogous
#BE7626 #BABE26 #6EBE26
triadic
#BABE26 #26BABE #BE26BA
tetradic
#BABE26 #26BE76 #2A26BE #BE266E
square
#BABE26 #26BE76 #2A26BE #BE266E
split-complementary
#BABE26 #266EBE #7626BE
monochromatic
#565812 #888B1C #BABE26 #D6DA47 #E2E47A
Accessibility & contrast
On white
2.00
#BABE26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.48
#BABE26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABE26
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABE26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABE26 | 1.00 | 2.00 | 10.48 | 10.48 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CEB935
Tritanopia (blue-blind)
#C7B2A3
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #babe26; /* rgb */ color: rgb(186, 190, 38); /* oklch */ color: oklch(77.3% 0.161 111.2);
Tailwind
colors: {
custom: {
50: '#d3d16f',
500: '#babe26',
950: '#000000',
},
}SCSS
$custom: #babe26; $custom-light: #d3d16f; $custom-dark: #000000;
JSON
{
"hex": "#babe26",
"rgb": {
"r": 186,
"g": 190,
"b": 38
},
"hsl": {
"h": 61.579,
"s": 66.667,
"l": 44.706
},
"oklch": {
"l": 0.77348,
"c": 0.16053,
"h": 111.2
},
"luminance": 0.47406
}Semantic roles & 50–950 ramp
primary
#BABE26
secondary
#7674CC
accent
#3EEA43
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B