Skip to content

#b1c921

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

RGB
177, 201, 33
HSL
69°, 72%, 46%
CMYK
12, 0, 84, 21
Luminance
0.5123

Every format

HEX#b1c921
RGBrgb(177, 201, 33)
HSLhsl(69, 72%, 46%)
CMYKcmyk(12%, 0%, 84%, 21%)
LABlab(76.8 -27.6 72.1)
LCHlch(76.8 77.2 110.9)
OKLCHoklch(0.791 0.177 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b1c921 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#b1c921 on black: 11.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green78.8%
Blue12.9%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow83.6%
Key (black)21.2%

Color previews

#b1c921 text on a black background

contrast 11.25:1

Card sample

#b1c921 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(177, 201, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 201, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b1c921;
background: linear-gradient(135deg, #b1c921, #41C921);

Monochromatic scale

Palettes built from #b1c921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b1c921 in the Color Lab