#C8D98A#C8D98A

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

Color values

HEX#C8D98A
RGBrgb(200, 217, 138)
HSLhsl(73, 51%, 70%)
HSVhsv(73, 36%, 85%)
CMYKcmyk(7.8%, 0%, 36.4%, 14.9%)
CIE-LABlab(83.83, -18.19, 37.05)
CIE-LCHlch(83.83, 41.28, 116.15°)
OKLaboklab(85.42% -0.0496 0.0912)
OKLCHoklch(85.42% 0.104 118.6)
XYZxyz(53.2197, 63.7403, 33.5393)
Luminance0.6374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D98A #9B8AD9
analogous
#D9C28A #C8D98A #A1D98A
triadic
#C8D98A #8AC8D9 #D98AC8
tetradic
#C8D98A #8AD9C2 #9B8AD9 #D98AA1
square
#C8D98A #8AD9C2 #9B8AD9 #D98AA1
split-complementary
#C8D98A #8AA1D9 #C28AD9
monochromatic
#96B039 #B2CA5C #C8D98A #DEE8B8 #F3F7E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D98A#FFFFFF#000000##000000
##C8D98A1.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)
#E3D184
Deuteranopia (green-blind)
#E1D18E
Tritanopia (blue-blind)
#CFD1C5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c8d98a;
/* rgb */ color: rgb(200, 217, 138);
/* oklch */ color: oklch(85.4% 0.104 118.6);
Tailwind
colors: {
  custom: {
    50: '#d9e4ad',
    500: '#c8d98a',
    950: '#000000',
  },
}
SCSS
$custom: #c8d98a;
$custom-light: #d9e4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d98a",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 138
  },
  "hsl": {
    "h": 72.911,
    "s": 50.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85421,
    "c": 0.10386,
    "h": 118.6
  },
  "luminance": 0.6374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8D98A

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

Preview Lab → · Contrast checker → · Palette generator →

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