Skip to content

#cbce21

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

RGB
203, 206, 33
HSL
61°, 72%, 47%
CMYK
2, 0, 84, 19
Luminance
0.5695

Every format

HEX#cbce21
RGBrgb(203, 206, 33)
HSLhsl(61, 72%, 47%)
CMYKcmyk(2%, 0%, 84%, 19%)
LABlab(80.2 -19.1 75.7)
LCHlch(80.2 78.0 104.2)
OKLCHoklch(0.822 0.174 110.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbce21 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#cbce21 on black: 12.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green80.8%
Blue12.9%

CMYK percentages

Cyan1.5%
Magenta0.0%
Yellow84.0%
Key (black)19.2%

Color previews

#cbce21 text on a black background

contrast 12.39:1

Card sample

#cbce21 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbce21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbce21 in the Color Lab