Skip to content

#cddf98

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

RGB
205, 223, 152
HSL
75°, 53%, 74%
CMYK
8, 0, 32, 13
Luminance
0.6802

Every format

HEX#cddf98
RGBrgb(205, 223, 152)
HSLhsl(75, 53%, 74%)
CMYKcmyk(8%, 0%, 32%, 13%)
LABlab(86.0 -17.5 32.9)
LCHlch(86.0 37.2 118.0)
OKLCHoklch(0.873 0.095 120.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddf98 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#cddf98 on black: 14.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green87.5%
Blue59.6%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow31.8%
Key (black)12.5%

Color previews

#cddf98 text on a black background

contrast 14.60:1

Card sample

#cddf98 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddf98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddf98 in the Color Lab