#C8D397#C8D397

#C8D397 is a very light, moderate yellow-green. Relative luminance 0.611; OKLCH L 84.4% C 0.080 H 116.6°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#C8D397
RGBrgb(200, 211, 151)
HSLhsl(71, 41%, 71%)
HSVhsv(71, 28%, 83%)
CMYKcmyk(5.2%, 0%, 28.4%, 17.3%)
CIE-LABlab(82.43, -13.52, 28.55)
CIE-LCHlch(82.43, 31.58, 115.34°)
OKLaboklab(84.38% -0.0359 0.0716)
OKLCHoklch(84.38% 0.08 116.6)
XYZxyz(52.6994, 61.1026, 38.2899)
Luminance0.6110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D397 #A297D3
analogous
#D3C097 #C8D397 #AAD397
triadic
#C8D397 #97C8D3 #D397C8
tetradic
#C8D397 #97D3C0 #A297D3 #D397AA
square
#C8D397 #97D3C0 #A297D3 #D397AA
split-complementary
#C8D397 #97AAD3 #C097D3
monochromatic
#97A847 #B1C16C #C8D397 #DFE5C2 #F4F6E9

Accessibility & contrast

On white

1.59
#C8D397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#C8D397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D397
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D397#FFFFFF#000000##000000
##C8D3971.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCD93
Deuteranopia (green-blind)
#DACE9A
Tritanopia (blue-blind)
#CECCC3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c8d397;
/* rgb */ color: rgb(200, 211, 151);
/* oklch */ color: oklch(84.4% 0.080 116.6);
Tailwind
colors: {
  custom: {
    50: '#d9e0b6',
    500: '#c8d397',
    950: '#000000',
  },
}
SCSS
$custom: #c8d397;
$custom-light: #d9e0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d397",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 71,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.84377,
    "c": 0.0801,
    "h": 116.6
  },
  "luminance": 0.61102
}

Semantic roles & 50–950 ramp

primary
#C8D397
secondary
#7265A9
accent
#32B44A
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C8D397

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

Preview Lab → · Contrast checker → · Palette generator →

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