#CCCC87#CCCC87

#CCCC87 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.090 H 108.2°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CCCC87
RGBrgb(204, 204, 135)
HSLhsl(60, 40%, 66%)
HSVhsv(60, 34%, 80%)
CMYKcmyk(0%, 0%, 33.8%, 20%)
CIE-LABlab(80.61, -10.48, 34.45)
CIE-LCHlch(80.61, 36.01, 106.92°)
OKLaboklab(82.92% -0.028 0.0851)
OKLCHoklch(82.92% 0.09 108.2)
XYZxyz(50.8683, 57.7733, 31.3886)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC87 #8787CC
analogous
#CCAA87 #CCCC87 #AACC87
triadic
#CCCC87 #87CCCC #CC87CC
tetradic
#CCCC87 #87CCAA #8787CC #CC87AA
square
#CCCC87 #87CCAA #8787CC #CC87AA
split-complementary
#CCCC87 #87AACC #AA87CC
monochromatic
#989841 #BABA5C #CCCC87 #DEDEB2 #F1F1DD

Accessibility & contrast

On white

1.67
#CCCC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CCCC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC87
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC87#FFFFFF#000000##000000
##CCCC871.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C782
Deuteranopia (green-blind)
#D8C98A
Tritanopia (blue-blind)
#D5C4BA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc87;
/* rgb */ color: rgb(204, 204, 135);
/* oklch */ color: oklch(82.9% 0.090 108.2);
Tailwind
colors: {
  custom: {
    50: '#dcdbaa',
    500: '#cccc87',
    950: '#000000',
  },
}
SCSS
$custom: #cccc87;
$custom-light: #dcdbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc87",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 135
  },
  "hsl": {
    "h": 60,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82918,
    "c": 0.08956,
    "h": 108.2
  },
  "luminance": 0.57772
}

Semantic roles & 50–950 ramp

primary
#CCCC87
secondary
#59599F
accent
#32B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCC87

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

Preview Lab → · Contrast checker → · Palette generator →

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