#C8D98C#C8D98C

#C8D98C is a very light, moderate yellow-green. Relative luminance 0.638; OKLCH L 85.5% C 0.102 H 118.7°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#C8D98C
RGBrgb(200, 217, 140)
HSLhsl(73, 50%, 70%)
HSVhsv(73, 35%, 85%)
CMYKcmyk(7.8%, 0%, 35.5%, 14.9%)
CIE-LABlab(83.86, -17.95, 36.08)
CIE-LCHlch(83.86, 40.30, 116.45°)
OKLaboklab(85.46% -0.0488 0.0891)
OKLCHoklch(85.46% 0.102 118.7)
XYZxyz(53.3659, 63.7988, 34.3089)
Luminance0.6380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D98C #9D8CD9
analogous
#D9C48C #C8D98C #A1D98C
triadic
#C8D98C #8CC8D9 #D98CC8
tetradic
#C8D98C #8CD9C4 #9D8CD9 #D98CA1
square
#C8D98C #8CD9C4 #9D8CD9 #D98CA1
split-complementary
#C8D98C #8CA1D9 #C48CD9
monochromatic
#96B03A #B2CA5E #C8D98C #DEE8BA #F4F7E8

Accessibility & contrast

On white

1.53
#C8D98C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#C8D98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D98C
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D98C#FFFFFF#000000##000000
##C8D98C1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D186
Deuteranopia (green-blind)
#E1D190
Tritanopia (blue-blind)
#CFD1C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c8d98c;
/* rgb */ color: rgb(200, 217, 140);
/* oklch */ color: oklch(85.5% 0.102 118.7);
Tailwind
colors: {
  custom: {
    50: '#d9e4ae',
    500: '#c8d98c',
    950: '#000000',
  },
}
SCSS
$custom: #c8d98c;
$custom-light: #d9e4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d98c",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 140
  },
  "hsl": {
    "h": 73.247,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.85455,
    "c": 0.10156,
    "h": 118.7
  },
  "luminance": 0.63799
}

Semantic roles & 50–950 ramp

primary
#C8D98C
secondary
#6D59B0
accent
#28BE49
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8D98C

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

Preview Lab → · Contrast checker → · Palette generator →

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