Skip to content

#bbcf28

a balanced, vivid yellow · cool · closest name: yellow

RGB
187, 207, 40
HSL
67°, 68%, 48%
CMYK
10, 0, 81, 19
Luminance
0.5534

Every format

HEX#bbcf28
RGBrgb(187, 207, 40)
HSLhsl(67, 68%, 48%)
CMYKcmyk(10%, 0%, 81%, 19%)
LABlab(79.2 -26.1 72.7)
LCHlch(79.2 77.3 109.7)
OKLCHoklch(0.812 0.177 116.8)

Copy-ready code

/* CSS */
color: #bbcf28;
background-color: #bbcf28;
/* Tailwind (arbitrary) */
class="text-[#bbcf28] bg-[#bbcf28]"
/* SCSS */
$brand: #bbcf28;
/* SwiftUI */
Color(red: 0.733, green: 0.812, blue: 0.157)
/* Android */
Color.parseColor("#bbcf28")

Accessibility — WCAG contrast

Aa
#bbcf28 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#bbcf28 on black: 12.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green81.2%
Blue15.7%

CMYK percentages

Cyan9.7%
Magenta0.0%
Yellow80.7%
Key (black)18.8%

Color previews

#bbcf28 text on a black background

contrast 12.07:1

Card sample

#bbcf28 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #bbcf28;
Background color
Panel with #bbcf28 background
background-color: #bbcf28;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #bbcf28;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(187, 207, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 207, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbcf28;
background: linear-gradient(135deg, #bbcf28, #4CCF28);

Monochromatic scale

Palettes built from #bbcf28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbcf28 in the Color Lab