Skip to content

#b5ce21

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

RGB
181, 206, 33
HSL
69°, 72%, 47%
CMYK
12, 0, 84, 19
Luminance
0.5408

Every format

HEX#b5ce21
RGBrgb(181, 206, 33)
HSLhsl(69, 72%, 47%)
CMYKcmyk(12%, 0%, 84%, 19%)
LABlab(78.5 -28.3 73.6)
LCHlch(78.5 78.9 111.0)
OKLCHoklch(0.805 0.181 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red71.0%
Green80.8%
Blue12.9%

CMYK percentages

Cyan12.1%
Magenta0.0%
Yellow84.0%
Key (black)19.2%

Color previews

#b5ce21 text on a black background

contrast 11.82:1

Card sample

#b5ce21 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(181, 206, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 206, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b5ce21;
background: linear-gradient(135deg, #b5ce21, #42CE21);

Monochromatic scale

Palettes built from #b5ce21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5ce21 in the Color Lab