Skip to content

#ccd2af

a light, soft green · cool · closest name: beige

RGB
204, 210, 175
HSL
70°, 28%, 76%
CMYK
3, 0, 17, 18
Luminance
0.6203

Every format

HEX#ccd2af
RGBrgb(204, 210, 175)
HSLhsl(70, 28%, 76%)
CMYKcmyk(3%, 0%, 17%, 18%)
LABlab(82.9 -8.0 16.7)
LCHlch(82.9 18.5 115.7)
OKLCHoklch(0.850 0.048 115.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccd2af on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#ccd2af on black: 13.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green82.4%
Blue68.6%

CMYK percentages

Cyan2.9%
Magenta0.0%
Yellow16.7%
Key (black)17.6%

Color previews

#ccd2af text on a black background

contrast 13.41:1

Card sample

#ccd2af text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 210, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 210, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccd2af;
background: linear-gradient(135deg, #ccd2af, #B5D2AF);

Monochromatic scale

Palettes built from #ccd2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd2af in the Color Lab