Skip to content

#cddb28

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

RGB
205, 219, 40
HSL
65°, 71%, 51%
CMYK
6, 0, 82, 14
Luminance
0.6380

Every format

HEX#cddb28
RGBrgb(205, 219, 40)
HSLhsl(65, 71%, 51%)
CMYKcmyk(6%, 0%, 82%, 14%)
LABlab(83.9 -24.4 77.3)
LCHlch(83.9 81.0 107.5)
OKLCHoklch(0.853 0.183 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green85.9%
Blue15.7%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow81.7%
Key (black)14.1%

Color previews

#cddb28 text on a black background

contrast 13.76:1

Card sample

#cddb28 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddb28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb28 in the Color Lab