Skip to content

#cbdd21

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

RGB
203, 221, 33
HSL
66°, 74%, 50%
CMYK
8, 0, 85, 13
Luminance
0.6452

Every format

HEX#cbdd21
RGBrgb(203, 221, 33)
HSLhsl(66, 74%, 50%)
CMYKcmyk(8%, 0%, 85%, 13%)
LABlab(84.2 -26.4 79.1)
LCHlch(84.2 83.3 108.5)
OKLCHoklch(0.855 0.188 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbdd21 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#cbdd21 on black: 13.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green86.7%
Blue12.9%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow85.1%
Key (black)13.3%

Color previews

#cbdd21 text on a black background

contrast 13.90:1

Card sample

#cbdd21 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 221, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 221, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbdd21;
background: linear-gradient(135deg, #cbdd21, #4EDD21);

Monochromatic scale

Palettes built from #cbdd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbdd21 in the Color Lab