Skip to content

#bbcc3f

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

RGB
187, 204, 63
HSL
67°, 58%, 52%
CMYK
8, 0, 69, 20
Luminance
0.5411

Every format

HEX#bbcc3f
RGBrgb(187, 204, 63)
HSLhsl(67, 58%, 52%)
CMYKcmyk(8%, 0%, 69%, 20%)
LABlab(78.5 -23.6 64.8)
LCHlch(78.5 69.0 110.1)
OKLCHoklch(0.807 0.161 116.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.3%
Green80.0%
Blue24.7%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow69.1%
Key (black)20.0%

Color previews

#bbcc3f text on a black background

contrast 11.82:1

Card sample

#bbcc3f text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbcc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbcc3f in the Color Lab