#C8D98B#C8D98B

#C8D98B is a very light, moderate yellow-green. Relative luminance 0.638; OKLCH L 85.4% C 0.103 H 118.6°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#C8D98B
RGBrgb(200, 217, 139)
HSLhsl(73, 51%, 70%)
HSVhsv(73, 36%, 85%)
CMYKcmyk(7.8%, 0%, 35.9%, 14.9%)
CIE-LABlab(83.85, -18.07, 36.56)
CIE-LCHlch(83.85, 40.79, 116.30°)
OKLaboklab(85.44% -0.0492 0.0901)
OKLCHoklch(85.44% 0.103 118.6)
XYZxyz(53.2925, 63.7694, 33.9223)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D98B #9C8BD9
analogous
#D9C38B #C8D98B #A1D98B
triadic
#C8D98B #8BC8D9 #D98BC8
tetradic
#C8D98B #8BD9C3 #9C8BD9 #D98BA1
square
#C8D98B #8BD9C3 #9C8BD9 #D98BA1
split-complementary
#C8D98B #8BA1D9 #C38BD9
monochromatic
#96B03A #B2CA5D #C8D98B #DEE8B9 #F4F7E7

Accessibility & contrast

On white

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

On black

13.75
#C8D98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D98B
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D98B#FFFFFF#000000##000000
##C8D98B1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D185
Deuteranopia (green-blind)
#E1D18F
Tritanopia (blue-blind)
#CFD1C5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c8d98b;
/* rgb */ color: rgb(200, 217, 139);
/* oklch */ color: oklch(85.4% 0.103 118.6);
Tailwind
colors: {
  custom: {
    50: '#d9e4ae',
    500: '#c8d98b',
    950: '#000000',
  },
}
SCSS
$custom: #c8d98b;
$custom-light: #d9e4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d98b",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 139
  },
  "hsl": {
    "h": 73.077,
    "s": 50.649,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85438,
    "c": 0.10271,
    "h": 118.6
  },
  "luminance": 0.63769
}

Semantic roles & 50–950 ramp

primary
#C8D98B
secondary
#6C59B0
accent
#27BE48
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8D98B

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

Preview Lab → · Contrast checker → · Palette generator →

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