#CCCB96#CCCB96

#CCCB96 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.070 H 106.9°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CCCB96
RGBrgb(204, 203, 150)
HSLhsl(59, 35%, 69%)
HSVhsv(59, 26%, 80%)
CMYKcmyk(0%, 0.5%, 26.5%, 20%)
CIE-LABlab(80.60, -8.07, 26.65)
CIE-LCHlch(80.60, 27.84, 106.84°)
OKLaboklab(82.99% -0.0204 0.0671)
OKLCHoklch(82.99% 0.07 106.9)
XYZxyz(51.7629, 57.7520, 37.2687)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB96 #9697CC
analogous
#CCB096 #CCCB96 #B2CC96
triadic
#CCCB96 #96CCCB #CB96CC
tetradic
#CCCB96 #96CCB0 #9697CC #CC96B2
square
#CCCB96 #96CCB0 #9697CC #CC96B2
split-complementary
#CCCB96 #96B2CC #B096CC
monochromatic
#9C9A4C #B8B76D #CCCB96 #E0DFBF #F4F4E8

Accessibility & contrast

On white

1.67
#CCCB96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CCCB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB96
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB96#FFFFFF#000000##000000
##CCCB961.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C793
Deuteranopia (green-blind)
#D5C998
Tritanopia (blue-blind)
#D4C4BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccb96;
/* rgb */ color: rgb(204, 203, 150);
/* oklch */ color: oklch(83.0% 0.070 106.9);
Tailwind
colors: {
  custom: {
    50: '#dcdab5',
    500: '#cccb96',
    950: '#000000',
  },
}
SCSS
$custom: #cccb96;
$custom-light: #dcdab5;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb96",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 150
  },
  "hsl": {
    "h": 58.889,
    "s": 34.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.82991,
    "c": 0.07011,
    "h": 106.9
  },
  "luminance": 0.57751
}

Semantic roles & 50–950 ramp

primary
#CCCB96
secondary
#6566A1
accent
#3AAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCB96

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

Preview Lab → · Contrast checker → · Palette generator →

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