#CCC487#CCC487

#CCC487 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.080 H 101.6°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CCC487
RGBrgb(204, 196, 135)
HSLhsl(53, 40%, 66%)
HSVhsv(53, 34%, 80%)
CMYKcmyk(0%, 3.9%, 33.8%, 20%)
CIE-LABlab(78.50, -6.37, 31.69)
CIE-LCHlch(78.50, 32.32, 101.37°)
OKLaboklab(81.24% -0.0162 0.0786)
OKLCHoklch(81.24% 0.08 101.6)
XYZxyz(49.0155, 54.0677, 30.7710)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC487 #878FCC
analogous
#CCA287 #CCC487 #B2CC87
triadic
#CCC487 #87CCC4 #C487CC
tetradic
#CCC487 #87CCA2 #878FCC #CC87B2
square
#CCC487 #87CCA2 #878FCC #CC87B2
split-complementary
#CCC487 #87B2CC #A287CC
monochromatic
#988E41 #BAAF5C #CCC487 #DED9B2 #F1EEDD

Accessibility & contrast

On white

1.78
#CCC487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CCC487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC487
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC487#FFFFFF#000000##000000
##CCC4871.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC083
Deuteranopia (green-blind)
#D2C489
Tritanopia (blue-blind)
#D6BCB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc487;
/* rgb */ color: rgb(204, 196, 135);
/* oklch */ color: oklch(81.2% 0.080 101.6);
Tailwind
colors: {
  custom: {
    50: '#dcd5aa',
    500: '#ccc487',
    950: '#000000',
  },
}
SCSS
$custom: #ccc487;
$custom-light: #dcd5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc487",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 135
  },
  "hsl": {
    "h": 53.043,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.81244,
    "c": 0.08028,
    "h": 101.6
  },
  "luminance": 0.54066
}

Semantic roles & 50–950 ramp

primary
#CCC487
secondary
#59619F
accent
#41B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC487

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

Preview Lab → · Contrast checker → · Palette generator →

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