Skip to content

#cddb39

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

RGB
205, 219, 57
HSL
65°, 69%, 54%
CMYK
6, 0, 74, 14
Luminance
0.6394

Every format

HEX#cddb39
RGBrgb(205, 219, 57)
HSLhsl(65, 69%, 54%)
CMYKcmyk(6%, 0%, 74%, 14%)
LABlab(83.9 -23.8 72.5)
LCHlch(83.9 76.3 108.2)
OKLCHoklch(0.853 0.175 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddb39 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cddb39 on black: 13.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.9%
Blue22.4%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow74.0%
Key (black)14.1%

Color previews

#cddb39 text on a black background

contrast 13.79:1

Card sample

#cddb39 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 219, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 219, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cddb39;
background: linear-gradient(135deg, #cddb39, #61DB39);

Monochromatic scale

Palettes built from #cddb39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb39 in the Color Lab