Skip to content

#ccdf0d

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

RGB
204, 223, 13
HSL
65°, 89%, 46%
CMYK
9, 0, 94, 13
Luminance
0.6564

Every format

HEX#ccdf0d
RGBrgb(204, 223, 13)
HSLhsl(65, 89%, 46%)
CMYKcmyk(9%, 0%, 94%, 13%)
LABlab(84.8 -27.3 82.5)
LCHlch(84.8 86.9 108.3)
OKLCHoklch(0.860 0.195 115.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue5.1%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow94.2%
Key (black)12.5%

Color previews

#ccdf0d text on a black background

contrast 14.13:1

Card sample

#ccdf0d text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 223, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf0d;
background: linear-gradient(135deg, #ccdf0d, #40DF0D);

Monochromatic scale

Palettes built from #ccdf0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf0d in the Color Lab