#C8CB87#C8CB87

#C8CB87 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.089 H 110.3°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#C8CB87
RGBrgb(200, 203, 135)
HSLhsl(63, 40%, 66%)
HSVhsv(63, 33%, 80%)
CMYKcmyk(1.5%, 0%, 33.5%, 20.4%)
CIE-LABlab(80.03, -11.53, 33.64)
CIE-LCHlch(80.03, 35.56, 108.92°)
OKLaboklab(82.38% -0.0308 0.0832)
OKLCHoklch(82.38% 0.089 110.3)
XYZxyz(49.5488, 56.7413, 31.2589)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB87 #8A87CB
analogous
#CBAC87 #C8CB87 #A6CB87
triadic
#C8CB87 #87C8CB #CB87C8
tetradic
#C8CB87 #87CBAC #8A87CB #CB87A6
square
#C8CB87 #87CBAC #8A87CB #CB87A6
split-complementary
#C8CB87 #87A6CB #AC87CB
monochromatic
#939641 #B4B85C #C8CB87 #DCDEB2 #EFF0DC

Accessibility & contrast

On white

1.70
#C8CB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#C8CB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB87
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB87#FFFFFF#000000##000000
##C8CB871.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C582
Deuteranopia (green-blind)
#D6C88A
Tritanopia (blue-blind)
#D1C3BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cb87;
/* rgb */ color: rgb(200, 203, 135);
/* oklch */ color: oklch(82.4% 0.089 110.3);
Tailwind
colors: {
  custom: {
    50: '#d9daaa',
    500: '#c8cb87',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb87;
$custom-light: #d9daaa;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb87",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 135
  },
  "hsl": {
    "h": 62.647,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82382,
    "c": 0.08874,
    "h": 110.3
  },
  "luminance": 0.56741
}

Semantic roles & 50–950 ramp

primary
#C8CB87
secondary
#5C599D
accent
#33B339
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C8CB87

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

Preview Lab → · Contrast checker → · Palette generator →

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