#CCBF87#CCBF87

#CCBF87 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.2% C 0.075 H 96.6°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CCBF87
RGBrgb(204, 191, 135)
HSLhsl(49, 40%, 66%)
HSVhsv(49, 34%, 80%)
CMYKcmyk(0%, 6.4%, 33.8%, 20%)
CIE-LABlab(77.19, -3.77, 29.95)
CIE-LCHlch(77.19, 30.19, 97.17°)
OKLaboklab(80.21% -0.0087 0.0746)
OKLCHoklch(80.21% 0.075 96.6)
XYZxyz(47.9065, 51.8495, 30.4014)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF87 #8794CC
analogous
#CC9D87 #CCBF87 #B7CC87
triadic
#CCBF87 #87CCBF #BF87CC
tetradic
#CCBF87 #87CC9D #8794CC #CC87B7
square
#CCBF87 #87CC9D #8794CC #CC87B7
split-complementary
#CCBF87 #87B7CC #9D87CC
monochromatic
#988841 #BAA85C #CCBF87 #DED6B2 #F1EDDD

Accessibility & contrast

On white

1.85
#CCBF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CCBF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF87
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF87#FFFFFF#000000##000000
##CCBF871.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABC83
Deuteranopia (green-blind)
#CEC189
Tritanopia (blue-blind)
#D6B7B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccbf87;
/* rgb */ color: rgb(204, 191, 135);
/* oklch */ color: oklch(80.2% 0.075 96.6);
Tailwind
colors: {
  custom: {
    50: '#dcd2aa',
    500: '#ccbf87',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf87;
$custom-light: #dcd2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf87",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 135
  },
  "hsl": {
    "h": 48.696,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80208,
    "c": 0.07507,
    "h": 96.6
  },
  "luminance": 0.51848
}

Semantic roles & 50–950 ramp

primary
#CCBF87
secondary
#59669F
accent
#4AB332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCBF87

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

Preview Lab → · Contrast checker → · Palette generator →

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