#CCCD9F#CCCD9F

#CCCD9F is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.061 H 108.7°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#CCCD9F
RGBrgb(204, 205, 159)
HSLhsl(61, 32%, 71%)
HSVhsv(61, 22%, 80%)
CMYKcmyk(0.5%, 0%, 22.4%, 19.6%)
CIE-LABlab(81.29, -7.85, 22.87)
CIE-LCHlch(81.29, 24.18, 108.95°)
OKLaboklab(83.6% -0.0196 0.0581)
OKLCHoklch(83.6% 0.061 108.7)
XYZxyz(52.9909, 59.0038, 41.3915)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD9F #A09FCD
analogous
#CDB79F #CCCD9F #B5CD9F
triadic
#CCCD9F #9FCCCD #CD9FCC
tetradic
#CCCD9F #9FCDB7 #A09FCD #CD9FB5
square
#CCCD9F #9FCDB7 #A09FCD #CD9FB5
split-complementary
#CCCD9F #9FB5CD #B79FCD
monochromatic
#9D9F53 #B7B877 #CCCD9F #E1E2C7 #F4F5EB

Accessibility & contrast

On white

1.64
#CCCD9F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#CCCD9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD9F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD9F#FFFFFF#000000##000000
##CCCD9F1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C99C
Deuteranopia (green-blind)
#D5CBA1
Tritanopia (blue-blind)
#D3C7C1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccd9f;
/* rgb */ color: rgb(204, 205, 159);
/* oklch */ color: oklch(83.6% 0.061 108.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcbb',
    500: '#cccd9f',
    950: '#000000',
  },
}
SCSS
$custom: #cccd9f;
$custom-light: #dcdcbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd9f",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 159
  },
  "hsl": {
    "h": 61.304,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.83595,
    "c": 0.06128,
    "h": 108.7
  },
  "luminance": 0.59003
}

Semantic roles & 50–950 ramp

primary
#CCCD9F
secondary
#6F6EA2
accent
#3BAA3E
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151512
muted
#848482

Preview Lab

Preview with #CCCD9F

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

Preview Lab → · Contrast checker → · Palette generator →

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