Skip to content

#cddb8c

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

RGB
205, 219, 140
HSL
71°, 52%, 70%
CMYK
6, 0, 36, 14
Luminance
0.6554

Every format

HEX#cddb8c
RGBrgb(205, 219, 140)
HSLhsl(71, 52%, 70%)
CMYKcmyk(6%, 0%, 36%, 14%)
LABlab(84.8 -17.0 37.3)
LCHlch(84.8 41.0 114.5)
OKLCHoklch(0.863 0.103 116.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddb8c on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#cddb8c on black: 14.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.9%
Blue54.9%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow36.1%
Key (black)14.1%

Color previews

#cddb8c text on a black background

contrast 14.11:1

Card sample

#cddb8c text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddb8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb8c in the Color Lab