#CCCF87#CCCF87

#CCCF87 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.093 H 110.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CCCF87
RGBrgb(204, 207, 135)
HSLhsl(63, 43%, 67%)
HSVhsv(63, 35%, 81%)
CMYKcmyk(1.4%, 0%, 34.8%, 18.8%)
CIE-LABlab(81.41, -12.01, 35.49)
CIE-LCHlch(81.41, 37.47, 108.69°)
OKLaboklab(83.55% -0.0323 0.0875)
OKLCHoklch(83.55% 0.093 110.3)
XYZxyz(51.5882, 59.2131, 31.6286)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF87 #8A87CF
analogous
#CFAE87 #CCCF87 #A8CF87
triadic
#CCCF87 #87CCCF #CF87CC
tetradic
#CCCF87 #87CFAE #8A87CF #CF87A8
square
#CCCF87 #87CFAE #8A87CF #CF87A8
split-complementary
#CCCF87 #87A8CF #AE87CF
monochromatic
#999D3F #B9BE5B #CCCF87 #DFE0B3 #F1F2DE

Accessibility & contrast

On white

1.64
#CCCF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CCCF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF87
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF87#FFFFFF#000000##000000
##CCCF871.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC982
Deuteranopia (green-blind)
#DACB8A
Tritanopia (blue-blind)
#D5C7BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccf87;
/* rgb */ color: rgb(204, 207, 135);
/* oklch */ color: oklch(83.6% 0.093 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcddab',
    500: '#cccf87',
    950: '#000000',
  },
}
SCSS
$custom: #cccf87;
$custom-light: #dcddab;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf87",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 135
  },
  "hsl": {
    "h": 62.5,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83551,
    "c": 0.09327,
    "h": 110.3
  },
  "luminance": 0.59212
}

Semantic roles & 50–950 ramp

primary
#CCCF87
secondary
#5B58A3
accent
#30B635
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCF87

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

Preview Lab → · Contrast checker → · Palette generator →

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