#CCD8A2#CCD8A2

#CCD8A2 is a very light, moderate yellow-green. Relative luminance 0.646; OKLCH L 86.0% C 0.073 H 118.1°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#CCD8A2
RGBrgb(204, 216, 162)
HSLhsl(73, 41%, 74%)
HSVhsv(73, 25%, 85%)
CMYKcmyk(5.6%, 0%, 25%, 15.3%)
CIE-LABlab(84.26, -13.02, 25.34)
CIE-LCHlch(84.26, 28.49, 117.20°)
OKLaboklab(85.96% -0.0343 0.0641)
OKLCHoklch(85.96% 0.073 118.1)
XYZxyz(55.9788, 64.5580, 43.6873)
Luminance0.6456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD8A2 #AEA2D8
analogous
#D8C9A2 #CCD8A2 #B1D8A2
triadic
#CCD8A2 #A2CCD8 #D8A2CC
tetradic
#CCD8A2 #A2D8C9 #AEA2D8 #D8A2B1
square
#CCD8A2 #A2D8C9 #AEA2D8 #D8A2B1
split-complementary
#CCD8A2 #A2B1D8 #C9A2D8
monochromatic
#9DB44C #B4C677 #CCD8A2 #E4EACD #F3F6E9

Accessibility & contrast

On white

1.51
#CCD8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#CCD8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD8A2
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD8A2#FFFFFF#000000##000000
##CCD8A21.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD29F
Deuteranopia (green-blind)
#DED3A4
Tritanopia (blue-blind)
#D1D2CA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccd8a2;
/* rgb */ color: rgb(204, 216, 162);
/* oklch */ color: oklch(86.0% 0.073 118.1);
Tailwind
colors: {
  custom: {
    50: '#dce4bd',
    500: '#ccd8a2',
    950: '#000000',
  },
}
SCSS
$custom: #ccd8a2;
$custom-light: #dce4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd8a2",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 162
  },
  "hsl": {
    "h": 73.333,
    "s": 40.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.85963,
    "c": 0.07269,
    "h": 118.1
  },
  "luminance": 0.64558
}

Semantic roles & 50–950 ramp

primary
#CCD8A2
secondary
#7D6FAF
accent
#32B44F
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151512
muted
#848482

Preview Lab

Preview with #CCD8A2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CCD8A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva