Skip to content

#cbeb21

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

RGB
203, 235, 33
HSL
70°, 84%, 53%
CMYK
14, 0, 86, 8
Luminance
0.7222

Every format

HEX#cbeb21
RGBrgb(203, 235, 33)
HSLhsl(70, 84%, 53%)
CMYKcmyk(14%, 0%, 86%, 8%)
LABlab(88.1 -32.9 82.2)
LCHlch(88.1 88.6 111.8)
OKLCHoklch(0.886 0.203 119.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbeb21 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#cbeb21 on black: 15.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green92.2%
Blue12.9%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow86.0%
Key (black)7.8%

Color previews

#cbeb21 text on a black background

contrast 15.44:1

Card sample

#cbeb21 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbeb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbeb21 in the Color Lab