Skip to content

#cddf42

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

RGB
205, 223, 66
HSL
67°, 71%, 57%
CMYK
8, 0, 70, 13
Luminance
0.6615

Every format

HEX#cddf42
RGBrgb(205, 223, 66)
HSLhsl(67, 71%, 57%)
CMYKcmyk(8%, 0%, 70%, 13%)
LABlab(85.1 -25.3 70.6)
LCHlch(85.1 75.0 109.7)
OKLCHoklch(0.863 0.175 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green87.5%
Blue25.9%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow70.4%
Key (black)12.5%

Color previews

#cddf42 text on a black background

contrast 14.23:1

Card sample

#cddf42 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddf42

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddf42 in the Color Lab