Skip to content

#cddc2f

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

RGB
205, 220, 47
HSL
65°, 71%, 52%
CMYK
7, 0, 79, 14
Luminance
0.6437

Every format

HEX#cddc2f
RGBrgb(205, 220, 47)
HSLhsl(65, 71%, 52%)
CMYKcmyk(7%, 0%, 79%, 14%)
LABlab(84.2 -24.7 75.7)
LCHlch(84.2 79.6 108.0)
OKLCHoklch(0.855 0.181 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddc2f on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#cddc2f on black: 13.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green86.3%
Blue18.4%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow78.6%
Key (black)13.7%

Color previews

#cddc2f text on a black background

contrast 13.87:1

Card sample

#cddc2f text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddc2f in the Color Lab