Skip to content

#cddf2c

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

RGB
205, 223, 44
HSL
66°, 74%, 52%
CMYK
8, 0, 80, 13
Luminance
0.6594

Every format

HEX#cddf2c
RGBrgb(205, 223, 44)
HSLhsl(66, 74%, 52%)
CMYKcmyk(8%, 0%, 80%, 13%)
LABlab(85.0 -26.2 77.2)
LCHlch(85.0 81.5 108.7)
OKLCHoklch(0.861 0.186 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green87.5%
Blue17.3%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow80.3%
Key (black)12.5%

Color previews

#cddf2c text on a black background

contrast 14.19:1

Card sample

#cddf2c text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddf2c in the Color Lab