#CCC587#CCC587

#CCC587 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.081 H 102.5°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CCC587
RGBrgb(204, 197, 135)
HSLhsl(54, 40%, 66%)
HSVhsv(54, 34%, 80%)
CMYKcmyk(0%, 3.4%, 33.8%, 20%)
CIE-LABlab(78.76, -6.89, 32.03)
CIE-LCHlch(78.76, 32.76, 102.14°)
OKLaboklab(81.45% -0.0177 0.0794)
OKLCHoklch(81.45% 0.081 102.5)
XYZxyz(49.2418, 54.5203, 30.8465)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC587 #878ECC
analogous
#CCA387 #CCC587 #B1CC87
triadic
#CCC587 #87CCC5 #C587CC
tetradic
#CCC587 #87CCA3 #878ECC #CC87B1
square
#CCC587 #87CCA3 #878ECC #CC87B1
split-complementary
#CCC587 #87B1CC #A387CC
monochromatic
#988F41 #BAB05C #CCC587 #DEDAB2 #F1EFDD

Accessibility & contrast

On white

1.76
#CCC587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CCC587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC587
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC587#FFFFFF#000000##000000
##CCC5871.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C183
Deuteranopia (green-blind)
#D2C589
Tritanopia (blue-blind)
#D6BDB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc587;
/* rgb */ color: rgb(204, 197, 135);
/* oklch */ color: oklch(81.5% 0.081 102.5);
Tailwind
colors: {
  custom: {
    50: '#dcd6aa',
    500: '#ccc587',
    950: '#000000',
  },
}
SCSS
$custom: #ccc587;
$custom-light: #dcd6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc587",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 135
  },
  "hsl": {
    "h": 53.913,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.81452,
    "c": 0.08138,
    "h": 102.5
  },
  "luminance": 0.54519
}

Semantic roles & 50–950 ramp

primary
#CCC587
secondary
#59609F
accent
#3FB332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC587

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

Preview Lab → · Contrast checker → · Palette generator →

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