#C8DC98#C8DC98

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

Color values

HEX#C8DC98
RGBrgb(200, 220, 152)
HSLhsl(78, 49%, 73%)
HSVhsv(78, 31%, 86%)
CMYKcmyk(9.1%, 0%, 30.9%, 13.7%)
CIE-LABlab(84.86, -17.88, 31.27)
CIE-LCHlch(84.86, 36.03, 119.76°)
OKLaboklab(86.32% -0.0482 0.0781)
OKLCHoklch(86.32% 0.092 121.7)
XYZxyz(55.0797, 65.7328, 39.4857)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DC98 #AC98DC
analogous
#DCCE98 #C8DC98 #A6DC98
triadic
#C8DC98 #98C8DC #DC98C8
tetradic
#C8DC98 #98DCCE #AC98DC #DC98A6
square
#C8DC98 #98DCCE #AC98DC #DC98A6
split-complementary
#C8DC98 #98A6DC #CE98DC
monochromatic
#96BA3F #B0CC6A #C8DC98 #E0ECC6 #F3F7E8

Accessibility & contrast

On white

1.48
#C8DC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#C8DC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DC98
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DC98#FFFFFF#000000##000000
##C8DC981.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8dc98;
/* rgb */ color: rgb(200, 220, 152);
/* oklch */ color: oklch(86.3% 0.092 121.7);
Tailwind
colors: {
  custom: {
    50: '#d9e6b7',
    500: '#c8dc98',
    950: '#000000',
  },
}
SCSS
$custom: #c8dc98;
$custom-light: #d9e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8dc98",
  "rgb": {
    "r": 200,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 77.647,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86315,
    "c": 0.09179,
    "h": 121.7
  },
  "luminance": 0.65733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8DC98

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

Preview Lab → · Contrast checker → · Palette generator →

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