#CCCCAB#CCCCAB

#CCCCAB is a very light, muted yellow. Relative luminance 0.590; OKLCH L 83.7% C 0.044 H 107.3°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CCCCAB
RGBrgb(204, 204, 171)
HSLhsl(60, 24%, 74%)
HSVhsv(60, 16%, 80%)
CMYKcmyk(0%, 0%, 16.2%, 20%)
CIE-LABlab(81.27, -5.56, 16.49)
CIE-LCHlch(81.27, 17.40, 108.62°)
OKLaboklab(83.66% -0.0132 0.0424)
OKLCHoklch(83.66% 0.044 107.3)
XYZxyz(53.8448, 58.9639, 47.0648)
Luminance0.5896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCCAB #ABABCC
analogous
#CCBBAB #CCCCAB #BBCCAB
triadic
#CCCCAB #ABCCCC #CCABCC
tetradic
#CCCCAB #ABCCBB #ABABCC #CCABBB
square
#CCCCAB #ABCCBB #ABABCC #CCABBB
split-complementary
#CCCCAB #ABBBCC #BBABCC
monochromatic
#9D9D5F #B5B585 #CCCCAB #E3E3D1 #F3F3EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCCAB#FFFFFF#000000##000000
##CCCCAB1.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)
#D2C9A9
Deuteranopia (green-blind)
#D3CBAC
Tritanopia (blue-blind)
#D1C8C3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccccab;
/* rgb */ color: rgb(204, 204, 171);
/* oklch */ color: oklch(83.7% 0.044 107.3);
Tailwind
colors: {
  custom: {
    50: '#dbdbc4',
    500: '#ccccab',
    950: '#000000',
  },
}
SCSS
$custom: #ccccab;
$custom-light: #dbdbc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccccab",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 171
  },
  "hsl": {
    "h": 60,
    "s": 24.444,
    "l": 73.529
  },
  "oklch": {
    "l": 0.83657,
    "c": 0.04444,
    "h": 107.3
  },
  "luminance": 0.58963
}

Semantic roles & 50–950 ramp

primary
#CCCCAB
secondary
#7A7AA1
accent
#43A343
background
#FEFEFD
surface
#FCFBF9
border
#D5D4D2
text
#151512
muted
#848482

Preview Lab

Preview with #CCCCAB

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

Preview Lab → · Contrast checker → · Palette generator →

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