#C8DF97#C8DF97

#C8DF97 is a very light, moderate yellow-green. Relative luminance 0.673; OKLCH L 86.9% C 0.097 H 122.8°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#C8DF97
RGBrgb(200, 223, 151)
HSLhsl(79, 53%, 73%)
HSVhsv(79, 32%, 87%)
CMYKcmyk(10.3%, 0%, 32.3%, 12.5%)
CIE-LABlab(85.65, -19.50, 32.83)
CIE-LCHlch(85.65, 38.19, 120.70°)
OKLaboklab(86.94% -0.0528 0.0818)
OKLCHoklch(86.94% 0.097 122.8)
XYZxyz(55.7926, 67.2890, 39.3209)
Luminance0.6729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DF97 #AE97DF
analogous
#DFD297 #C8DF97 #A4DF97
triadic
#C8DF97 #97C8DF #DF97C8
tetradic
#C8DF97 #97DFD2 #AE97DF #DF97A4
square
#C8DF97 #97DFD2 #AE97DF #DF97A4
split-complementary
#C8DF97 #97A4DF #D297DF
monochromatic
#96C03B #AFD168 #C8DF97 #E1EDC6 #F3F8E8

Accessibility & contrast

On white

1.45
#C8DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#C8DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DF97
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DF97#FFFFFF#000000##000000
##C8DF971.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D792
Deuteranopia (green-blind)
#E4D69A
Tritanopia (blue-blind)
#CDD8CC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c8df97;
/* rgb */ color: rgb(200, 223, 151);
/* oklch */ color: oklch(86.9% 0.097 122.8);
Tailwind
colors: {
  custom: {
    50: '#d9e9b6',
    500: '#c8df97',
    950: '#000000',
  },
}
SCSS
$custom: #c8df97;
$custom-light: #d9e9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8df97",
  "rgb": {
    "r": 200,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 79.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.8694,
    "c": 0.09733,
    "h": 122.8
  },
  "luminance": 0.67289
}

Semantic roles & 50–950 ramp

primary
#C8DF97
secondary
#7E63B7
accent
#25C057
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #C8DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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