#CCBB87#CCBB87

#CCBB87 is a light, moderate yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.071 H 92.1°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CCBB87
RGBrgb(204, 187, 135)
HSLhsl(45, 40%, 66%)
HSVhsv(45, 34%, 80%)
CMYKcmyk(0%, 8.3%, 33.8%, 20%)
CIE-LABlab(76.15, -1.67, 28.57)
CIE-LCHlch(76.15, 28.62, 93.35°)
OKLaboklab(79.38% -0.0026 0.0713)
OKLCHoklch(79.38% 0.071 92.1)
XYZxyz(47.0460, 50.1287, 30.1146)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB87 #8798CC
analogous
#CC9987 #CCBB87 #BBCC87
triadic
#CCBB87 #87CCBB #BB87CC
tetradic
#CCBB87 #87CC99 #8798CC #CC87BB
square
#CCBB87 #87CC99 #8798CC #CC87BB
split-complementary
#CCBB87 #87BBCC #9987CC
monochromatic
#988241 #BAA35C #CCBB87 #DED3B2 #F1ECDD

Accessibility & contrast

On white

1.90
#CCBB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CCBB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB87
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB87#FFFFFF#000000##000000
##CCBB871.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B983
Deuteranopia (green-blind)
#CBBE89
Tritanopia (blue-blind)
#D7B3AD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbb87;
/* rgb */ color: rgb(204, 187, 135);
/* oklch */ color: oklch(79.4% 0.071 92.1);
Tailwind
colors: {
  custom: {
    50: '#dccfaa',
    500: '#ccbb87',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb87;
$custom-light: #dccfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb87",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 135
  },
  "hsl": {
    "h": 45.217,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.79385,
    "c": 0.07135,
    "h": 92.1
  },
  "luminance": 0.50127
}

Semantic roles & 50–950 ramp

primary
#CCBB87
secondary
#596A9F
accent
#52B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151310
muted
#848381

Preview Lab

Preview with #CCBB87

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

Preview Lab → · Contrast checker → · Palette generator →

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