Skip to content

#cddb74

a light, vivid yellow · cool · closest name: khaki

RGB
205, 219, 116
HSL
68°, 59%, 66%
CMYK
6, 0, 47, 14
Luminance
0.6490

Every format

HEX#cddb74
RGBrgb(205, 219, 116)
HSLhsl(68, 59%, 66%)
CMYKcmyk(6%, 0%, 47%, 14%)
LABlab(84.4 -19.7 48.7)
LCHlch(84.4 52.5 112.0)
OKLCHoklch(0.859 0.129 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddb74 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#cddb74 on black: 13.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.9%
Blue45.5%

CMYK percentages

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

Color previews

#cddb74 text on a black background

contrast 13.98:1

Card sample

#cddb74 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddb74

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb74 in the Color Lab