Skip to content

#bbc22f

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

RGB
187, 194, 47
HSL
63°, 61%, 47%
CMYK
4, 0, 76, 24
Luminance
0.4935

Every format

HEX#bbc22f
RGBrgb(187, 194, 47)
HSLhsl(63, 61%, 47%)
CMYKcmyk(4%, 0%, 76%, 24%)
LABlab(75.7 -19.5 67.5)
LCHlch(75.7 70.3 106.1)
OKLCHoklch(0.784 0.160 112.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc22f on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#bbc22f on black: 10.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green76.1%
Blue18.4%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow75.8%
Key (black)23.9%

Color previews

#bbc22f text on a black background

contrast 10.87:1

Card sample

#bbc22f text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 194, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 194, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbc22f;
background: linear-gradient(135deg, #bbc22f, #59C22F);

Monochromatic scale

Palettes built from #bbc22f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc22f in the Color Lab