#CCCD97#CCCD97

#CCCD97 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.071 H 108.7°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CCCD97
RGBrgb(204, 205, 151)
HSLhsl(61, 35%, 70%)
HSVhsv(61, 26%, 80%)
CMYKcmyk(0.5%, 0%, 26.3%, 19.6%)
CIE-LABlab(81.15, -8.96, 26.86)
CIE-LCHlch(81.15, 28.32, 108.44°)
OKLaboklab(83.43% -0.0229 0.0676)
OKLCHoklch(83.43% 0.071 108.7)
XYZxyz(52.3191, 58.7351, 37.8530)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD97 #9897CD
analogous
#CDB397 #CCCD97 #B1CD97
triadic
#CCCD97 #97CCCD #CD97CC
tetradic
#CCCD97 #97CDB3 #9897CD #CD97B1
square
#CCCD97 #97CDB3 #9897CD #CD97B1
split-complementary
#CCCD97 #97B1CD #B397CD
monochromatic
#9C9E4C #B8B96E #CCCD97 #E0E1C0 #F5F5EA

Accessibility & contrast

On white

1.65
#CCCD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#CCCD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD97
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD97#FFFFFF#000000##000000
##CCCD971.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C893
Deuteranopia (green-blind)
#D7CB99
Tritanopia (blue-blind)
#D4C6BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccd97;
/* rgb */ color: rgb(204, 205, 151);
/* oklch */ color: oklch(83.4% 0.071 108.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcb6',
    500: '#cccd97',
    950: '#000000',
  },
}
SCSS
$custom: #cccd97;
$custom-light: #dcdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd97",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 61.111,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83429,
    "c": 0.07138,
    "h": 108.7
  },
  "luminance": 0.58734
}

Semantic roles & 50–950 ramp

primary
#CCCD97
secondary
#6766A2
accent
#38AE3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCD97

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

Preview Lab → · Contrast checker → · Palette generator →

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