Skip to content

#cbdf1f

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

RGB
203, 223, 31
HSL
66°, 76%, 50%
CMYK
9, 0, 86, 13
Luminance
0.6557

Every format

HEX#cbdf1f
RGBrgb(203, 223, 31)
HSLhsl(66, 76%, 50%)
CMYKcmyk(9%, 0%, 86%, 13%)
LABlab(84.8 -27.4 79.9)
LCHlch(84.8 84.5 108.9)
OKLCHoklch(0.859 0.191 116.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbdf1f on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#cbdf1f on black: 14.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green87.5%
Blue12.2%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow86.1%
Key (black)12.5%

Color previews

#cbdf1f text on a black background

contrast 14.11:1

Card sample

#cbdf1f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbdf1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbdf1f in the Color Lab