Skip to content

#bccf1f

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

RGB
188, 207, 31
HSL
67°, 74%, 47%
CMYK
9, 0, 85, 19
Luminance
0.5542

Every format

HEX#bccf1f
RGBrgb(188, 207, 31)
HSLhsl(67, 74%, 47%)
CMYKcmyk(9%, 0%, 85%, 19%)
LABlab(79.3 -26.0 74.9)
LCHlch(79.3 79.3 109.1)
OKLCHoklch(0.813 0.180 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.7%
Green81.2%
Blue12.2%

CMYK percentages

Cyan9.2%
Magenta0.0%
Yellow85.0%
Key (black)18.8%

Color previews

#bccf1f text on a black background

contrast 12.08:1

Card sample

#bccf1f text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(188, 207, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 207, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bccf1f;
background: linear-gradient(135deg, #bccf1f, #47CF1F);

Monochromatic scale

Palettes built from #bccf1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bccf1f in the Color Lab