Skip to content

#cbdf38

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

RGB
203, 223, 56
HSL
67°, 72%, 55%
CMYK
9, 0, 75, 13
Luminance
0.6576

Every format

HEX#cbdf38
RGBrgb(203, 223, 56)
HSLhsl(67, 72%, 55%)
CMYKcmyk(9%, 0%, 75%, 13%)
LABlab(84.9 -26.6 73.7)
LCHlch(84.9 78.3 109.8)
OKLCHoklch(0.861 0.181 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green87.5%
Blue22.0%

CMYK percentages

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

Color previews

#cbdf38 text on a black background

contrast 14.15:1

Card sample

#cbdf38 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbdf38

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbdf38 in the Color Lab