#C8D987#C8D987

#C8D987 is a very light, moderate yellow-green. Relative luminance 0.637; OKLCH L 85.4% C 0.107 H 118.3°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#C8D987
RGBrgb(200, 217, 135)
HSLhsl(72, 52%, 69%)
HSVhsv(72, 38%, 85%)
CMYKcmyk(7.8%, 0%, 37.8%, 14.9%)
CIE-LABlab(83.79, -18.55, 38.51)
CIE-LCHlch(83.79, 42.74, 115.73°)
OKLaboklab(85.37% -0.0508 0.0945)
OKLCHoklch(85.37% 0.107 118.3)
XYZxyz(53.0055, 63.6546, 32.4112)
Luminance0.6365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D987 #9887D9
analogous
#D9C187 #C8D987 #9FD987
triadic
#C8D987 #87C8D9 #D987C8
tetradic
#C8D987 #87D9C1 #9887D9 #D9879F
square
#C8D987 #87D9C1 #9887D9 #D9879F
split-complementary
#C8D987 #879FD9 #C187D9
monochromatic
#96AE37 #B3CA59 #C8D987 #DDE8B5 #F3F6E4

Accessibility & contrast

On white

1.53
#C8D987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#C8D987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D987
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D987#FFFFFF#000000##000000
##C8D9871.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D181
Deuteranopia (green-blind)
#E1D18B
Tritanopia (blue-blind)
#D0D1C5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c8d987;
/* rgb */ color: rgb(200, 217, 135);
/* oklch */ color: oklch(85.4% 0.107 118.3);
Tailwind
colors: {
  custom: {
    50: '#dae4ab',
    500: '#c8d987',
    950: '#000000',
  },
}
SCSS
$custom: #c8d987;
$custom-light: #dae4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d987",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 72.439,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8537,
    "c": 0.10727,
    "h": 118.3
  },
  "luminance": 0.63654
}

Semantic roles & 50–950 ramp

primary
#C8D987
secondary
#6855AF
accent
#26BF46
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8D987

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

Preview Lab → · Contrast checker → · Palette generator →

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