#BABB1E#BABB1E
#BABB1E is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.161 H 110.1°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #BABB1E |
|---|---|
| RGB | rgb(186, 187, 30) |
| HSL | hsl(60, 72%, 43%) |
| HSV | hsv(60, 84%, 73%) |
| CMYK | cmyk(0.5%, 0%, 84%, 26.7%) |
| CIE-LAB | lab(73.59, -17.01, 70.34) |
| CIE-LCH | lch(73.59, 72.36, 103.60°) |
| OKLab | oklab(76.65% -0.0551 0.151) |
| OKLCH | oklch(76.65% 0.161 110.1) |
| XYZ | xyz(38.2559, 46.0747, 8.1062) |
| Luminance | 0.4607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 1.94
Vomit Yellow
#C7C10C
ΔE00 2.92
Snot
#ACBB0D
ΔE00 3.20
Olive Yellow
#C2B709
ΔE00 3.21
Bile
#B5C306
ΔE00 3.26
Baby Puke Green
#B6C406
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABB1E #1F1EBB
analogous
#BB6D1E #BABB1E #6CBB1E
triadic
#BABB1E #1EBABB #BB1EBA
tetradic
#BABB1E #1EBB6D #1F1EBB #BB1E6C
square
#BABB1E #1EBB6D #1F1EBB #BB1E6C
split-complementary
#BABB1E #1E6CBB #6D1EBB
monochromatic
#51520D #868616 #BABB1E #DEDF37 #E7E76C
Accessibility & contrast
On white
2.06
#BABB1E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#BABB1E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABB1E
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABB1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABB1E | 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)
#CBB300
Deuteranopia (green-blind)
#CCB72F
Tritanopia (blue-blind)
#C8AEA0
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #babb1e; /* rgb */ color: rgb(186, 187, 30); /* oklch */ color: oklch(76.7% 0.161 110.1);
Tailwind
colors: {
custom: {
50: '#d3cf6c',
500: '#babb1e',
950: '#000000',
},
}SCSS
$custom: #babb1e; $custom-light: #d3cf6c; $custom-dark: #000000;
JSON
{
"hex": "#babb1e",
"rgb": {
"r": 186,
"g": 187,
"b": 30
},
"hsl": {
"h": 60.382,
"s": 72.35,
"l": 42.549
},
"oklch": {
"l": 0.76654,
"c": 0.16077,
"h": 110.1
},
"luminance": 0.46073
}Semantic roles & 50–950 ramp
primary
#BABB1E
secondary
#6867CD
accent
#39EF3A
background
#FDFCF6
surface
#FBF9EC
border
#D4D2C7
text
#151308
muted
#83827A