#CCCB97#CCCB97

#CCCB97 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.069 H 106.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CCCB97
RGBrgb(204, 203, 151)
HSLhsl(59, 34%, 70%)
HSVhsv(59, 26%, 80%)
CMYKcmyk(0%, 0.5%, 26%, 20%)
CIE-LABlab(80.62, -7.93, 26.15)
CIE-LCHlch(80.62, 27.33, 106.87°)
OKLaboklab(83.01% -0.02 0.0659)
OKLCHoklch(83.01% 0.069 106.9)
XYZxyz(51.8437, 57.7844, 37.6946)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB97 #9798CC
analogous
#CCB197 #CCCB97 #B3CC97
triadic
#CCCB97 #97CCCB #CB97CC
tetradic
#CCCB97 #97CCB1 #9798CC #CC97B3
square
#CCCB97 #97CCB1 #9798CC #CC97B3
split-complementary
#CCCB97 #97B3CC #B197CC
monochromatic
#9C9B4D #B8B66E #CCCB97 #E0E0C0 #F4F4E9

Accessibility & contrast

On white

1.67
#CCCB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CCCB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB97
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB97#FFFFFF#000000##000000
##CCCB971.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C794
Deuteranopia (green-blind)
#D5C999
Tritanopia (blue-blind)
#D4C4BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccb97;
/* rgb */ color: rgb(204, 203, 151);
/* oklch */ color: oklch(83.0% 0.069 106.9);
Tailwind
colors: {
  custom: {
    50: '#dcdab6',
    500: '#cccb97',
    950: '#000000',
  },
}
SCSS
$custom: #cccb97;
$custom-light: #dcdab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb97",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 151
  },
  "hsl": {
    "h": 58.868,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83012,
    "c": 0.06886,
    "h": 106.9
  },
  "luminance": 0.57784
}

Semantic roles & 50–950 ramp

primary
#CCCB97
secondary
#6667A1
accent
#3BAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCB97

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

Preview Lab → · Contrast checker → · Palette generator →

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