#CBCC87#CBCC87

#CBCC87 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.090 H 108.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CBCC87
RGBrgb(203, 204, 135)
HSLhsl(61, 40%, 66%)
HSVhsv(61, 34%, 80%)
CMYKcmyk(0.5%, 0%, 33.8%, 20%)
CIE-LABlab(80.53, -10.87, 34.34)
CIE-LCHlch(80.53, 36.02, 107.57°)
OKLaboklab(82.84% -0.0291 0.0848)
OKLCHoklch(82.84% 0.09 108.9)
XYZxyz(50.5951, 57.6324, 31.3758)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC87 #8887CC
analogous
#CCAB87 #CBCC87 #A9CC87
triadic
#CBCC87 #87CBCC #CC87CB
tetradic
#CBCC87 #87CCAB #8887CC #CC87A9
square
#CBCC87 #87CCAB #8887CC #CC87A9
split-complementary
#CBCC87 #87A9CC #AB87CC
monochromatic
#979841 #B8BA5C #CBCC87 #DEDEB2 #F0F1DD

Accessibility & contrast

On white

1.68
#CBCC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#CBCC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC87
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC87#FFFFFF#000000##000000
##CBCC871.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C682
Deuteranopia (green-blind)
#D8C98A
Tritanopia (blue-blind)
#D4C4BA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcc87;
/* rgb */ color: rgb(203, 204, 135);
/* oklch */ color: oklch(82.8% 0.090 108.9);
Tailwind
colors: {
  custom: {
    50: '#dcdbaa',
    500: '#cbcc87',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc87;
$custom-light: #dcdbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc87",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 135
  },
  "hsl": {
    "h": 60.87,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82836,
    "c": 0.08965,
    "h": 108.9
  },
  "luminance": 0.57632
}

Semantic roles & 50–950 ramp

primary
#CBCC87
secondary
#5A599F
accent
#32B334
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CBCC87

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

Preview Lab → · Contrast checker → · Palette generator →

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