Skip to content

#bbcb3f

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

RGB
187, 203, 63
HSL
67°, 57%, 52%
CMYK
8, 0, 69, 20
Luminance
0.5364

Every format

HEX#bbcb3f
RGBrgb(187, 203, 63)
HSLhsl(67, 57%, 52%)
CMYKcmyk(8%, 0%, 69%, 20%)
LABlab(78.3 -23.2 64.5)
LCHlch(78.3 68.5 109.7)
OKLCHoklch(0.804 0.160 115.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbcb3f on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#bbcb3f on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green79.6%
Blue24.7%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow69.0%
Key (black)20.4%

Color previews

#bbcb3f text on a black background

contrast 11.73:1

Card sample

#bbcb3f text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbcb3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbcb3f in the Color Lab