#CCC8A2#CCC8A2

#CCC8A2 is a very light, muted yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.051 H 102.5°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CCC8A2
RGBrgb(204, 200, 162)
HSLhsl(54, 29%, 72%)
HSVhsv(54, 21%, 80%)
CMYKcmyk(0%, 2%, 20.6%, 20%)
CIE-LABlab(80.04, -4.83, 19.56)
CIE-LCHlch(80.04, 20.14, 103.88°)
OKLaboklab(82.62% -0.0111 0.05)
OKLCHoklch(82.62% 0.051 102.5)
XYZxyz(52.0775, 56.7553, 42.3869)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC8A2 #A2A6CC
analogous
#CCB3A2 #CCC8A2 #BBCCA2
triadic
#CCC8A2 #A2CCC8 #C8A2CC
tetradic
#CCC8A2 #A2CCB3 #A2A6CC #CCA2BB
square
#CCC8A2 #A2CCB3 #A2A6CC #CCA2BB
split-complementary
#CCC8A2 #A2BBCC #B3A2CC
monochromatic
#9D9756 #B6B17A #CCC8A2 #E2DFCA #F4F3EB

Accessibility & contrast

On white

1.70
#CCC8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CCC8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC8A2
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC8A2#FFFFFF#000000##000000
##CCC8A21.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC5A0
Deuteranopia (green-blind)
#D1C8A3
Tritanopia (blue-blind)
#D3C3BE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccc8a2;
/* rgb */ color: rgb(204, 200, 162);
/* oklch */ color: oklch(82.6% 0.051 102.5);
Tailwind
colors: {
  custom: {
    50: '#dcd8bd',
    500: '#ccc8a2',
    950: '#000000',
  },
}
SCSS
$custom: #ccc8a2;
$custom-light: #dcd8bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc8a2",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 162
  },
  "hsl": {
    "h": 54.286,
    "s": 29.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.82624,
    "c": 0.05118,
    "h": 102.5
  },
  "luminance": 0.56755
}

Semantic roles & 50–950 ramp

primary
#CCC8A2
secondary
#7176A1
accent
#48A83E
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CCC8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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