#CCCF97#CCCF97

#CCCF97 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.074 H 110.5°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#CCCF97
RGBrgb(204, 207, 151)
HSLhsl(63, 37%, 70%)
HSVhsv(63, 27%, 81%)
CMYKcmyk(1.4%, 0%, 27.1%, 18.8%)
CIE-LABlab(81.67, -9.98, 27.57)
CIE-LCHlch(81.67, 29.33, 109.90°)
OKLaboklab(83.85% -0.0258 0.0693)
OKLCHoklch(83.85% 0.074 110.5)
XYZxyz(52.8006, 59.6980, 38.0135)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF97 #9A97CF
analogous
#CFB697 #CCCF97 #B0CF97
triadic
#CCCF97 #97CCCF #CF97CC
tetradic
#CCCF97 #97CFB6 #9A97CF #CF97B0
square
#CCCF97 #97CFB6 #9A97CF #CF97B0
split-complementary
#CCCF97 #97B0CF #B697CF
monochromatic
#9DA14A #B7BC6D #CCCF97 #E1E2C1 #F5F5EA

Accessibility & contrast

On white

1.62
#CCCF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#CCCF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF97
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF97#FFFFFF#000000##000000
##CCCF971.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA93
Deuteranopia (green-blind)
#D8CC99
Tritanopia (blue-blind)
#D4C8C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cccf97;
/* rgb */ color: rgb(204, 207, 151);
/* oklch */ color: oklch(83.8% 0.074 110.5);
Tailwind
colors: {
  custom: {
    50: '#dcddb6',
    500: '#cccf97',
    950: '#000000',
  },
}
SCSS
$custom: #cccf97;
$custom-light: #dcddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf97",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 63.214,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83848,
    "c": 0.07396,
    "h": 110.5
  },
  "luminance": 0.59697
}

Semantic roles & 50–950 ramp

primary
#CCCF97
secondary
#6966A5
accent
#36B03C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCF97

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

Preview Lab → · Contrast checker → · Palette generator →

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