Skip to content

#cbdf39

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

RGB
203, 223, 57
HSL
67°, 72%, 55%
CMYK
9, 0, 74, 13
Luminance
0.6577

Every format

HEX#cbdf39
RGBrgb(203, 223, 57)
HSLhsl(67, 72%, 55%)
CMYKcmyk(9%, 0%, 74%, 13%)
LABlab(84.9 -26.5 73.4)
LCHlch(84.9 78.0 109.9)
OKLCHoklch(0.861 0.180 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbdf39 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#cbdf39 on black: 14.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green87.5%
Blue22.4%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow74.4%
Key (black)12.5%

Color previews

#cbdf39 text on a black background

contrast 14.15:1

Card sample

#cbdf39 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 223, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 223, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbdf39;
background: linear-gradient(135deg, #cbdf39, #5CDF39);

Monochromatic scale

Palettes built from #cbdf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbdf39 in the Color Lab