#C8D997#C8D997

#C8D997 is a very light, moderate yellow-green. Relative luminance 0.641; OKLCH L 85.7% C 0.089 H 120.0°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#C8D997
RGBrgb(200, 217, 151)
HSLhsl(75, 46%, 72%)
HSVhsv(75, 30%, 85%)
CMYKcmyk(7.8%, 0%, 30.4%, 14.9%)
CIE-LABlab(84.04, -16.53, 30.69)
CIE-LCHlch(84.04, 34.86, 118.30°)
OKLaboklab(85.65% -0.0444 0.0767)
OKLCHoklch(85.65% 0.089 120)
XYZxyz(54.2179, 64.1396, 38.7960)
Luminance0.6414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D997 #A897D9
analogous
#D9C997 #C8D997 #A7D997
triadic
#C8D997 #97C8D9 #D997C8
tetradic
#C8D997 #97D9C9 #A897D9 #D997A7
square
#C8D997 #97D9C9 #A897D9 #D997A7
split-complementary
#C8D997 #97A7D9 #C997D9
monochromatic
#96B442 #B0C96A #C8D997 #E0E9C4 #F3F7E9

Accessibility & contrast

On white

1.52
#C8D997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#C8D997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D997
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D997#FFFFFF#000000##000000
##C8D9971.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D293
Deuteranopia (green-blind)
#DFD29A
Tritanopia (blue-blind)
#CED2C8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c8d997;
/* rgb */ color: rgb(200, 217, 151);
/* oklch */ color: oklch(85.7% 0.089 120.0);
Tailwind
colors: {
  custom: {
    50: '#d9e4b6',
    500: '#c8d997',
    950: '#000000',
  },
}
SCSS
$custom: #c8d997;
$custom-light: #d9e4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d997",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 151
  },
  "hsl": {
    "h": 75.455,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85654,
    "c": 0.08864,
    "h": 120
  },
  "luminance": 0.64139
}

Semantic roles & 50–950 ramp

primary
#C8D997
secondary
#7864B0
accent
#2CBA50
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #C8D997

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

Preview Lab → · Contrast checker → · Palette generator →

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