Skip to content

#cddf5d

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

RGB
205, 223, 93
HSL
68°, 67%, 62%
CMYK
8, 0, 58, 13
Luminance
0.6654

Every format

HEX#cddf5d
RGBrgb(205, 223, 93)
HSLhsl(68, 67%, 62%)
CMYKcmyk(8%, 0%, 58%, 13%)
LABlab(85.3 -23.6 60.2)
LCHlch(85.3 64.7 111.4)
OKLCHoklch(0.865 0.155 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddf5d on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#cddf5d on black: 14.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green87.5%
Blue36.5%

CMYK percentages

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

Color previews

#cddf5d text on a black background

contrast 14.31:1

Card sample

#cddf5d text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddf5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddf5d in the Color Lab