#CCCD96#CCCD96

#CCCD96 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.073 H 108.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CCCD96
RGBrgb(204, 205, 150)
HSLhsl(61, 35%, 70%)
HSVhsv(61, 27%, 80%)
CMYKcmyk(0.5%, 0%, 26.8%, 19.6%)
CIE-LABlab(81.13, -9.09, 27.36)
CIE-LCHlch(81.13, 28.83, 108.38°)
OKLaboklab(83.41% -0.0233 0.0688)
OKLCHoklch(83.41% 0.073 108.7)
XYZxyz(52.2382, 58.7027, 37.4271)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD96 #9796CD
analogous
#CDB396 #CCCD96 #B1CD96
triadic
#CCCD96 #96CCCD #CD96CC
tetradic
#CCCD96 #96CDB3 #9796CD #CD96B1
square
#CCCD96 #96CDB3 #9796CD #CD96B1
split-complementary
#CCCD96 #96B1CD #B396CD
monochromatic
#9C9E4B #B8B96D #CCCD96 #E0E1BF #F4F4E9

Accessibility & contrast

On white

1.65
#CCCD96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CCCD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD96
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD96#FFFFFF#000000##000000
##CCCD961.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C892
Deuteranopia (green-blind)
#D7CB98
Tritanopia (blue-blind)
#D4C6BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccd96;
/* rgb */ color: rgb(204, 205, 150);
/* oklch */ color: oklch(83.4% 0.073 108.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcb5',
    500: '#cccd96',
    950: '#000000',
  },
}
SCSS
$custom: #cccd96;
$custom-light: #dcdcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd96",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 150
  },
  "hsl": {
    "h": 61.091,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83409,
    "c": 0.07262,
    "h": 108.7
  },
  "luminance": 0.58702
}

Semantic roles & 50–950 ramp

primary
#CCCD96
secondary
#6665A2
accent
#37AE39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCD96

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

Preview Lab → · Contrast checker → · Palette generator →

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