#CCC196#CCC196

#CCC196 is a light, muted yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.059 H 95.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CCC196
RGBrgb(204, 193, 150)
HSLhsl(48, 35%, 69%)
HSVhsv(48, 26%, 80%)
CMYKcmyk(0%, 5.4%, 26.5%, 20%)
CIE-LABlab(77.98, -2.88, 23.09)
CIE-LCHlch(77.98, 23.27, 97.10°)
OKLaboklab(80.92% -0.0055 0.0585)
OKLCHoklch(80.92% 0.059 95.4)
XYZxyz(49.4770, 53.1804, 36.5067)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC196 #96A1CC
analogous
#CCA696 #CCC196 #BCCC96
triadic
#CCC196 #96CCC1 #C196CC
tetradic
#CCC196 #96CCA6 #96A1CC #CC96BC
square
#CCC196 #96CCA6 #96A1CC #CC96BC
split-complementary
#CCC196 #96BCCC #A696CC
monochromatic
#9C8C4C #B8A96D #CCC196 #E0D9BF #F4F2E8

Accessibility & contrast

On white

1.80
#CCC196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CCC196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC196
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC196#FFFFFF#000000##000000
##CCC1961.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF93
Deuteranopia (green-blind)
#CDC297
Tritanopia (blue-blind)
#D5BBB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc196;
/* rgb */ color: rgb(204, 193, 150);
/* oklch */ color: oklch(80.9% 0.059 95.4);
Tailwind
colors: {
  custom: {
    50: '#dcd3b5',
    500: '#ccc196',
    950: '#000000',
  },
}
SCSS
$custom: #ccc196;
$custom-light: #dcd3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc196",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 150
  },
  "hsl": {
    "h": 47.778,
    "s": 34.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8092,
    "c": 0.05876,
    "h": 95.4
  },
  "luminance": 0.53179
}

Semantic roles & 50–950 ramp

primary
#CCC196
secondary
#6571A1
accent
#50AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC196

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

Preview Lab → · Contrast checker → · Palette generator →

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