Skip to content

#ccdb2f

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

RGB
204, 219, 47
HSL
65°, 71%, 52%
CMYK
7, 0, 79, 14
Luminance
0.6371

Every format

HEX#ccdb2f
RGBrgb(204, 219, 47)
HSLhsl(65, 71%, 52%)
CMYKcmyk(7%, 0%, 79%, 14%)
LABlab(83.8 -24.6 75.4)
LCHlch(83.8 79.3 108.1)
OKLCHoklch(0.852 0.181 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdb2f on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#ccdb2f on black: 13.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green85.9%
Blue18.4%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow78.5%
Key (black)14.1%

Color previews

#ccdb2f text on a black background

contrast 13.74:1

Card sample

#ccdb2f text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 219, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 219, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdb2f;
background: linear-gradient(135deg, #ccdb2f, #5ADB2F);

Monochromatic scale

Palettes built from #ccdb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdb2f in the Color Lab