#CCC8AF#CCC8AF

#CCC8AF is a very light, muted yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.034 H 99.6°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CCC8AF
RGBrgb(204, 200, 175)
HSLhsl(52, 22%, 74%)
HSVhsv(52, 14%, 80%)
CMYKcmyk(0%, 2%, 14.2%, 20%)
CIE-LABlab(80.32, -2.85, 13.02)
CIE-LCHlch(80.32, 13.32, 102.35°)
OKLaboklab(82.93% -0.0057 0.0337)
OKLCHoklch(82.93% 0.034 99.6)
XYZxyz(53.2933, 57.2416, 48.7904)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC8AF #AFB3CC
analogous
#CCBAAF #CCC8AF #C2CCAF
triadic
#CCC8AF #AFCCC8 #C8AFCC
tetradic
#CCC8AF #AFCCBA #AFB3CC #CCAFC2
square
#CCC8AF #AFCCBA #AFB3CC #CCAFC2
split-complementary
#CCC8AF #AFC2CC #BAAFCC
monochromatic
#9C9564 #B4AE8A #CCC8AF #E4E2D4 #F3F2EC

Accessibility & contrast

On white

1.69
#CCC8AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CCC8AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC8AF
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC8AF#FFFFFF#000000##000000
##CCC8AF1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC6AE
Deuteranopia (green-blind)
#CFC8B0
Tritanopia (blue-blind)
#D1C4C1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccc8af;
/* rgb */ color: rgb(204, 200, 175);
/* oklch */ color: oklch(82.9% 0.034 99.6);
Tailwind
colors: {
  custom: {
    50: '#dbd8c6',
    500: '#ccc8af',
    950: '#000000',
  },
}
SCSS
$custom: #ccc8af;
$custom-light: #dbd8c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc8af",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 175
  },
  "hsl": {
    "h": 51.724,
    "s": 22.137,
    "l": 74.314
  },
  "oklch": {
    "l": 0.8293,
    "c": 0.03419,
    "h": 99.6
  },
  "luminance": 0.57241
}

Semantic roles & 50–950 ramp

primary
#CCC8AF
secondary
#7E83A1
accent
#52A145
background
#FEFEFD
surface
#FBFBF9
border
#D4D4D2
text
#151413
muted
#848382

Preview Lab

Preview with #CCC8AF

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

Preview Lab → · Contrast checker → · Palette generator →

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