#C8D98D#C8D98D

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

Color values

HEX#C8D98D
RGBrgb(200, 217, 141)
HSLhsl(73, 50%, 70%)
HSVhsv(73, 35%, 85%)
CMYKcmyk(7.8%, 0%, 35%, 14.9%)
CIE-LABlab(83.88, -17.82, 35.59)
CIE-LCHlch(83.88, 39.80, 116.60°)
OKLaboklab(85.47% -0.0484 0.088)
OKLCHoklch(85.47% 0.1 118.8)
XYZxyz(53.4399, 63.8284, 34.6990)
Luminance0.6383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D98D #9E8DD9
analogous
#D9C48D #C8D98D #A2D98D
triadic
#C8D98D #8DC8D9 #D98DC8
tetradic
#C8D98D #8DD9C4 #9E8DD9 #D98DA2
square
#C8D98D #8DD9C4 #9E8DD9 #D98DA2
split-complementary
#C8D98D #8DA2D9 #C48DD9
monochromatic
#96B13B #B2CA5F #C8D98D #DEE8BB #F4F7E8

Accessibility & contrast

On white

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

On black

13.77
#C8D98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D98D
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D98D#FFFFFF#000000##000000
##C8D98D1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d98d;
/* rgb */ color: rgb(200, 217, 141);
/* oklch */ color: oklch(85.5% 0.100 118.8);
Tailwind
colors: {
  custom: {
    50: '#d9e4af',
    500: '#c8d98d',
    950: '#000000',
  },
}
SCSS
$custom: #c8d98d;
$custom-light: #d9e4af;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d98d",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 141
  },
  "hsl": {
    "h": 73.421,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85472,
    "c": 0.10041,
    "h": 118.8
  },
  "luminance": 0.63828
}

Semantic roles & 50–950 ramp

primary
#C8D98D
secondary
#6E5AB0
accent
#28BD4A
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8D98D

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

Preview Lab → · Contrast checker → · Palette generator →

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