#C8CA87#C8CA87

#C8CA87 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.087 H 109.6°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C8CA87
RGBrgb(200, 202, 135)
HSLhsl(62, 39%, 66%)
HSVhsv(62, 33%, 79%)
CMYKcmyk(1%, 0%, 33.2%, 20.8%)
CIE-LABlab(79.77, -11.02, 33.29)
CIE-LCHlch(79.77, 35.07, 108.32°)
OKLaboklab(82.17% -0.0294 0.0824)
OKLCHoklch(82.17% 0.087 109.6)
XYZxyz(49.3135, 56.2705, 31.1805)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA87 #8987CA
analogous
#CAAA87 #C8CA87 #A6CA87
triadic
#C8CA87 #87C8CA #CA87C8
tetradic
#C8CA87 #87CAAA #8987CA #CA87A6
square
#C8CA87 #87CAAA #8987CA #CA87A6
split-complementary
#C8CA87 #87A6CA #AA87CA
monochromatic
#929542 #B5B75D #C8CA87 #DBDDB1 #EFEFDC

Accessibility & contrast

On white

1.71
#C8CA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#C8CA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA87
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA87#FFFFFF#000000##000000
##C8CA871.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C482
Deuteranopia (green-blind)
#D5C78A
Tritanopia (blue-blind)
#D1C2B9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8ca87;
/* rgb */ color: rgb(200, 202, 135);
/* oklch */ color: oklch(82.2% 0.087 109.6);
Tailwind
colors: {
  custom: {
    50: '#d9daaa',
    500: '#c8ca87',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca87;
$custom-light: #d9daaa;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca87",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 135
  },
  "hsl": {
    "h": 61.791,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8217,
    "c": 0.08748,
    "h": 109.6
  },
  "luminance": 0.5627
}

Semantic roles & 50–950 ramp

primary
#C8CA87
secondary
#5B599C
accent
#34B238
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C8CA87

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

Preview Lab → · Contrast checker → · Palette generator →

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