#CCCD9D#CCCD9D

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

Color values

HEX#CCCD9D
RGBrgb(204, 205, 157)
HSLhsl(61, 32%, 71%)
HSVhsv(61, 23%, 80%)
CMYKcmyk(0.5%, 0%, 23.4%, 19.6%)
CIE-LABlab(81.26, -8.13, 23.87)
CIE-LCHlch(81.26, 25.21, 108.82°)
OKLaboklab(83.55% -0.0205 0.0605)
OKLCHoklch(83.55% 0.064 108.7)
XYZxyz(52.8188, 58.9350, 40.4848)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD9D #9E9DCD
analogous
#CDB69D #CCCD9D #B4CD9D
triadic
#CCCD9D #9DCCCD #CD9DCC
tetradic
#CCCD9D #9DCDB6 #9E9DCD #CD9DB4
square
#CCCD9D #9DCDB6 #9E9DCD #CD9DB4
split-complementary
#CCCD9D #9DB4CD #B69DCD
monochromatic
#9D9F51 #B7B874 #CCCD9D #E1E2C6 #F4F5EB

Accessibility & contrast

On white

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

On black

12.79
#CCCD9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD9D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD9D#FFFFFF#000000##000000
##CCCD9D1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C99A
Deuteranopia (green-blind)
#D6CB9F
Tritanopia (blue-blind)
#D3C7C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccd9d;
/* rgb */ color: rgb(204, 205, 157);
/* oklch */ color: oklch(83.6% 0.064 108.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcba',
    500: '#cccd9d',
    950: '#000000',
  },
}
SCSS
$custom: #cccd9d;
$custom-light: #dcdcba;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd9d",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 157
  },
  "hsl": {
    "h": 61.25,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.83553,
    "c": 0.06383,
    "h": 108.7
  },
  "luminance": 0.58934
}

Semantic roles & 50–950 ramp

primary
#CCCD9D
secondary
#6D6CA2
accent
#3AAB3D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCD9D

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

Preview Lab → · Contrast checker → · Palette generator →

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