#C8DC97#C8DC97

#C8DC97 is a very light, moderate yellow-green. Relative luminance 0.657; OKLCH L 86.3% C 0.093 H 121.5°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#C8DC97
RGBrgb(200, 220, 151)
HSLhsl(77, 50%, 73%)
HSVhsv(77, 31%, 86%)
CMYKcmyk(9.1%, 0%, 31.4%, 13.7%)
CIE-LABlab(84.84, -18.02, 31.76)
CIE-LCHlch(84.84, 36.52, 119.56°)
OKLaboklab(86.3% -0.0486 0.0793)
OKLCHoklch(86.3% 0.093 121.5)
XYZxyz(54.9981, 65.7001, 39.0561)
Luminance0.6570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DC97 #AB97DC
analogous
#DCCD97 #C8DC97 #A6DC97
triadic
#C8DC97 #97C8DC #DC97C8
tetradic
#C8DC97 #97DCCD #AB97DC #DC97A6
square
#C8DC97 #97DCCD #AB97DC #DC97A6
split-complementary
#C8DC97 #97A6DC #CD97DC
monochromatic
#96BA3F #B0CD69 #C8DC97 #E0EBC5 #F3F7E8

Accessibility & contrast

On white

1.49
#C8DC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#C8DC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DC97
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DC97#FFFFFF#000000##000000
##C8DC971.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D492
Deuteranopia (green-blind)
#E2D49A
Tritanopia (blue-blind)
#CED5CA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c8dc97;
/* rgb */ color: rgb(200, 220, 151);
/* oklch */ color: oklch(86.3% 0.093 121.5);
Tailwind
colors: {
  custom: {
    50: '#d9e6b6',
    500: '#c8dc97',
    950: '#000000',
  },
}
SCSS
$custom: #c8dc97;
$custom-light: #d9e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8dc97",
  "rgb": {
    "r": 200,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 77.391,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86296,
    "c": 0.09297,
    "h": 121.5
  },
  "luminance": 0.657
}

Semantic roles & 50–950 ramp

primary
#C8DC97
secondary
#7B64B4
accent
#29BD54
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #C8DC97

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

Preview Lab → · Contrast checker → · Palette generator →

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