#CCCF99#CCCF99

#CCCF99 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.9% C 0.071 H 110.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#CCCF99
RGBrgb(204, 207, 153)
HSLhsl(63, 36%, 71%)
HSVhsv(63, 26%, 81%)
CMYKcmyk(1.4%, 0%, 26.1%, 18.8%)
CIE-LABlab(81.71, -9.71, 26.58)
CIE-LCHlch(81.71, 28.30, 110.07°)
OKLaboklab(83.89% -0.025 0.067)
OKLCHoklch(83.89% 0.071 110.5)
XYZxyz(52.9644, 59.7635, 38.8762)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF99 #9C99CF
analogous
#CFB799 #CCCF99 #B1CF99
triadic
#CCCF99 #99CCCF #CF99CC
tetradic
#CCCF99 #99CFB7 #9C99CF #CF99B1
square
#CCCF99 #99CFB7 #9C99CF #CF99B1
split-complementary
#CCCF99 #99B1CF #B799CF
monochromatic
#9DA24C #B7BB6F #CCCF99 #E1E3C3 #F5F5EA

Accessibility & contrast

On white

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

On black

12.95
#CCCF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF99
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF99#FFFFFF#000000##000000
##CCCF991.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA95
Deuteranopia (green-blind)
#D8CC9B
Tritanopia (blue-blind)
#D3C8C1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cccf99;
/* rgb */ color: rgb(204, 207, 153);
/* oklch */ color: oklch(83.9% 0.071 110.5);
Tailwind
colors: {
  custom: {
    50: '#dcddb7',
    500: '#cccf99',
    950: '#000000',
  },
}
SCSS
$custom: #cccf99;
$custom-light: #dcddb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf99",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 153
  },
  "hsl": {
    "h": 63.333,
    "s": 36,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83888,
    "c": 0.07148,
    "h": 110.5
  },
  "luminance": 0.59763
}

Semantic roles & 50–950 ramp

primary
#CCCF99
secondary
#6B68A5
accent
#37AF3D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCF99

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

Preview Lab → · Contrast checker → · Palette generator →

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