Skip to content

#bbcf40

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

RGB
187, 207, 64
HSL
68°, 60%, 53%
CMYK
10, 0, 69, 19
Luminance
0.5556

Every format

HEX#bbcf40
RGBrgb(187, 207, 64)
HSLhsl(68, 60%, 53%)
CMYKcmyk(10%, 0%, 69%, 19%)
LABlab(79.4 -25.0 65.3)
LCHlch(79.4 69.9 111.0)
OKLCHoklch(0.814 0.164 117.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbcf40 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#bbcf40 on black: 12.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green81.2%
Blue25.1%

CMYK percentages

Cyan9.7%
Magenta0.0%
Yellow69.1%
Key (black)18.8%

Color previews

#bbcf40 text on a black background

contrast 12.11:1

Card sample

#bbcf40 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbcf40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbcf40 in the Color Lab