Skip to content

#b1ca21

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

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

Every format

HEX#b1ca21
RGBrgb(177, 202, 33)
HSLhsl(69, 72%, 46%)
CMYKcmyk(12%, 0%, 84%, 21%)
LABlab(77.1 -28.1 72.3)
LCHlch(77.1 77.6 111.2)
OKLCHoklch(0.793 0.178 118.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b1ca21 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#b1ca21 on black: 11.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green79.2%
Blue12.9%

CMYK percentages

Cyan12.4%
Magenta0.0%
Yellow83.7%
Key (black)20.8%

Color previews

#b1ca21 text on a black background

contrast 11.34:1

Card sample

#b1ca21 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b1ca21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b1ca21 in the Color Lab