#CCCF9F#CCCF9F

#CCCF9F is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.064 H 110.7°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#CCCF9F
RGBrgb(204, 207, 159)
HSLhsl(64, 33%, 72%)
HSVhsv(64, 23%, 81%)
CMYKcmyk(1.4%, 0%, 23.2%, 18.8%)
CIE-LABlab(81.82, -8.88, 23.59)
CIE-LCHlch(81.82, 25.20, 110.62°)
OKLaboklab(84.01% -0.0226 0.0598)
OKLCHoklch(84.01% 0.064 110.7)
XYZxyz(53.4724, 59.9668, 41.5520)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF9F #A29FCF
analogous
#CFBA9F #CCCF9F #B4CF9F
triadic
#CCCF9F #9FCCCF #CF9FCC
tetradic
#CCCF9F #9FCFBA #A29FCF #CF9FB4
square
#CCCF9F #9FCFBA #A29FCF #CF9FB4
split-complementary
#CCCF9F #9FB4CF #BA9FCF
monochromatic
#9DA251 #B6BB76 #CCCF9F #E2E3C8 #F4F5EB

Accessibility & contrast

On white

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

On black

12.99
#CCCF9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF9F
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF9F#FFFFFF#000000##000000
##CCCF9F1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CB9C
Deuteranopia (green-blind)
#D7CCA1
Tritanopia (blue-blind)
#D3C9C2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cccf9f;
/* rgb */ color: rgb(204, 207, 159);
/* oklch */ color: oklch(84.0% 0.064 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcddbb',
    500: '#cccf9f',
    950: '#000000',
  },
}
SCSS
$custom: #cccf9f;
$custom-light: #dcddbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf9f",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 159
  },
  "hsl": {
    "h": 63.75,
    "s": 33.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.84012,
    "c": 0.06392,
    "h": 110.7
  },
  "luminance": 0.59966
}

Semantic roles & 50–950 ramp

primary
#CCCF9F
secondary
#716EA5
accent
#39AC41
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151512
muted
#848482

Preview Lab

Preview with #CCCF9F

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

Preview Lab → · Contrast checker → · Palette generator →

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