#CCCAB2#CCCAB2

#CCCAB2 is a very light, muted yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.033 H 103.2°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CCCAB2
RGBrgb(204, 202, 178)
HSLhsl(55, 20%, 75%)
HSVhsv(55, 13%, 80%)
CMYKcmyk(0%, 1%, 12.7%, 20%)
CIE-LABlab(80.90, -3.42, 12.24)
CIE-LCHlch(80.90, 12.71, 105.59°)
OKLaboklab(83.41% -0.0074 0.0318)
OKLCHoklch(83.41% 0.033 103.2)
XYZxyz(54.0575, 58.2932, 50.5148)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCAB2 #B2B4CC
analogous
#CCBDB2 #CCCAB2 #C1CCB2
triadic
#CCCAB2 #B2CCCA #CAB2CC
tetradic
#CCCAB2 #B2CCBD #B2B4CC #CCB2C1
square
#CCCAB2 #B2CCBD #B2B4CC #CCB2C1
split-complementary
#CCCAB2 #B2C1CC #BDB2CC
monochromatic
#9B9768 #B4B18D #CCCAB2 #E4E3D7 #F3F2ED

Accessibility & contrast

On white

1.66
#CCCAB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CCCAB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCAB2
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCAB2#FFFFFF#000000##000000
##CCCAB21.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC8B1
Deuteranopia (green-blind)
#D0CAB3
Tritanopia (blue-blind)
#D0C7C3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccab2;
/* rgb */ color: rgb(204, 202, 178);
/* oklch */ color: oklch(83.4% 0.033 103.2);
Tailwind
colors: {
  custom: {
    50: '#dbdac9',
    500: '#cccab2',
    950: '#000000',
  },
}
SCSS
$custom: #cccab2;
$custom-light: #dbdac9;
$custom-dark: #000000;
JSON
{
  "hex": "#cccab2",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 178
  },
  "hsl": {
    "h": 55.385,
    "s": 20.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.83414,
    "c": 0.03262,
    "h": 103.2
  },
  "luminance": 0.58293
}

Semantic roles & 50–950 ramp

primary
#CCCAB2
secondary
#8184A1
accent
#4E9F47
background
#FEFEFD
surface
#FBFBF9
border
#D4D4D2
text
#151413
muted
#848382

Preview Lab

Preview with #CCCAB2

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

Preview Lab → · Contrast checker → · Palette generator →

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