Skip to content

#bccc2f

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

RGB
188, 204, 47
HSL
66°, 63%, 49%
CMYK
8, 0, 77, 20
Luminance
0.5408

Every format

HEX#bccc2f
RGBrgb(188, 204, 47)
HSLhsl(66, 63%, 49%)
CMYKcmyk(8%, 0%, 77%, 20%)
LABlab(78.5 -24.0 70.2)
LCHlch(78.5 74.2 108.9)
OKLCHoklch(0.806 0.170 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bccc2f on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#bccc2f on black: 11.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green80.0%
Blue18.4%

CMYK percentages

Cyan7.8%
Magenta0.0%
Yellow77.0%
Key (black)20.0%

Color previews

#bccc2f text on a black background

contrast 11.82:1

Card sample

#bccc2f text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bccc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bccc2f in the Color Lab