Skip to content

#bccc2d

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

RGB
188, 204, 45
HSL
66°, 64%, 49%
CMYK
8, 0, 78, 20
Luminance
0.5407

Every format

HEX#bccc2d
RGBrgb(188, 204, 45)
HSLhsl(66, 64%, 49%)
CMYKcmyk(8%, 0%, 78%, 20%)
LABlab(78.5 -24.1 70.8)
LCHlch(78.5 74.7 108.8)
OKLCHoklch(0.806 0.171 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.7%
Green80.0%
Blue17.6%

CMYK percentages

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

Color previews

#bccc2d text on a black background

contrast 11.81:1

Card sample

#bccc2d text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bccc2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bccc2d in the Color Lab