Skip to content

#ccd2ab

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

RGB
204, 210, 171
HSL
69°, 30%, 75%
CMYK
3, 0, 19, 18
Luminance
0.6187

Every format

HEX#ccd2ab
RGBrgb(204, 210, 171)
HSLhsl(69, 30%, 75%)
CMYKcmyk(3%, 0%, 19%, 18%)
LABlab(82.8 -8.7 18.7)
LCHlch(82.8 20.6 114.8)
OKLCHoklch(0.849 0.053 114.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green82.4%
Blue67.1%

CMYK percentages

Cyan2.9%
Magenta0.0%
Yellow18.6%
Key (black)17.6%

Color previews

#ccd2ab text on a black background

contrast 13.37:1

Card sample

#ccd2ab text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccd2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccd2ab in the Color Lab