#CCBD87#CCBD87

#CCBD87 is a light, moderate yellow. Relative luminance 0.510; OKLCH L 79.8% C 0.073 H 94.4°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CCBD87
RGBrgb(204, 189, 135)
HSLhsl(47, 40%, 66%)
HSVhsv(47, 34%, 80%)
CMYKcmyk(0%, 7.4%, 33.8%, 20%)
CIE-LABlab(76.67, -2.72, 29.26)
CIE-LCHlch(76.67, 29.39, 95.32°)
OKLaboklab(79.8% -0.0057 0.0729)
OKLCHoklch(79.8% 0.073 94.4)
XYZxyz(47.4733, 50.9832, 30.2570)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD87 #8796CC
analogous
#CC9B87 #CCBD87 #B9CC87
triadic
#CCBD87 #87CCBD #BD87CC
tetradic
#CCBD87 #87CC9B #8796CC #CC87B9
square
#CCBD87 #87CC9B #8796CC #CC87B9
split-complementary
#CCBD87 #87B9CC #9B87CC
monochromatic
#988541 #BAA55C #CCBD87 #DED5B2 #F1ECDD

Accessibility & contrast

On white

1.88
#CCBD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CCBD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD87
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD87#FFFFFF#000000##000000
##CCBD871.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8BA83
Deuteranopia (green-blind)
#CCBF89
Tritanopia (blue-blind)
#D6B5AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbd87;
/* rgb */ color: rgb(204, 189, 135);
/* oklch */ color: oklch(79.8% 0.073 94.4);
Tailwind
colors: {
  custom: {
    50: '#dcd0aa',
    500: '#ccbd87',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd87;
$custom-light: #dcd0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd87",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 135
  },
  "hsl": {
    "h": 46.957,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.79796,
    "c": 0.07315,
    "h": 94.4
  },
  "luminance": 0.50982
}

Semantic roles & 50–950 ramp

primary
#CCBD87
secondary
#59689F
accent
#4EB332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCBD87

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

Preview Lab → · Contrast checker → · Palette generator →

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