Skip to content

#cbdf48

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

RGB
203, 223, 72
HSL
68°, 70%, 58%
CMYK
9, 0, 68, 13
Luminance
0.6594

Every format

HEX#cbdf48
RGBrgb(203, 223, 72)
HSLhsl(68, 70%, 58%)
CMYKcmyk(9%, 0%, 68%, 13%)
LABlab(85.0 -25.8 68.3)
LCHlch(85.0 73.0 110.7)
OKLCHoklch(0.862 0.172 116.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green87.5%
Blue28.2%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow67.7%
Key (black)12.5%

Color previews

#cbdf48 text on a black background

contrast 14.19:1

Card sample

#cbdf48 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbdf48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbdf48 in the Color Lab