#CCCD9A#CCCD9A

#CCCD9A is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.068 H 108.7°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#CCCD9A
RGBrgb(204, 205, 154)
HSLhsl(61, 34%, 70%)
HSVhsv(61, 25%, 80%)
CMYKcmyk(0.5%, 0%, 24.9%, 19.6%)
CIE-LABlab(81.20, -8.55, 25.37)
CIE-LCHlch(81.20, 26.77, 108.63°)
OKLaboklab(83.49% -0.0217 0.0641)
OKLCHoklch(83.49% 0.068 108.7)
XYZxyz(52.5658, 58.8338, 39.1525)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD9A #9B9ACD
analogous
#CDB49A #CCCD9A #B2CD9A
triadic
#CCCD9A #9ACCCD #CD9ACC
tetradic
#CCCD9A #9ACDB4 #9B9ACD #CD9AB2
square
#CCCD9A #9ACDB4 #9B9ACD #CD9AB2
split-complementary
#CCCD9A #9AB2CD #B49ACD
monochromatic
#9D9E4E #B7B971 #CCCD9A #E1E1C3 #F5F5EB

Accessibility & contrast

On white

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

On black

12.77
#CCCD9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD9A
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD9A#FFFFFF#000000##000000
##CCCD9A1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C997
Deuteranopia (green-blind)
#D6CB9C
Tritanopia (blue-blind)
#D3C7BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccd9a;
/* rgb */ color: rgb(204, 205, 154);
/* oklch */ color: oklch(83.5% 0.068 108.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcb8',
    500: '#cccd9a',
    950: '#000000',
  },
}
SCSS
$custom: #cccd9a;
$custom-light: #dcdcb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd9a",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 154
  },
  "hsl": {
    "h": 61.176,
    "s": 33.775,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8349,
    "c": 0.06763,
    "h": 108.7
  },
  "luminance": 0.58833
}

Semantic roles & 50–950 ramp

primary
#CCCD9A
secondary
#6A69A2
accent
#39AD3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCD9A

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

Preview Lab → · Contrast checker → · Palette generator →

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