#C8D98F#C8D98F

#C8D98F is a very light, moderate yellow-green. Relative luminance 0.639; OKLCH L 85.5% C 0.098 H 119.1°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#C8D98F
RGBrgb(200, 217, 143)
HSLhsl(74, 49%, 71%)
HSVhsv(74, 34%, 85%)
CMYKcmyk(7.8%, 0%, 34.1%, 14.9%)
CIE-LABlab(83.91, -17.57, 34.61)
CIE-LCHlch(83.91, 38.82, 116.91°)
OKLaboklab(85.51% -0.0476 0.0857)
OKLCHoklch(85.51% 0.098 119.1)
XYZxyz(53.5901, 63.8884, 35.4898)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D98F #A08FD9
analogous
#D9C58F #C8D98F #A3D98F
triadic
#C8D98F #8FC8D9 #D98FC8
tetradic
#C8D98F #8FD9C5 #A08FD9 #D98FA3
square
#C8D98F #8FD9C5 #A08FD9 #D98FA3
split-complementary
#C8D98F #8FA3D9 #C58FD9
monochromatic
#96B13C #B2C961 #C8D98F #DEE9BD #F4F7E8

Accessibility & contrast

On white

1.52
#C8D98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#C8D98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D98F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D98F#FFFFFF#000000##000000
##C8D98F1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D18A
Deuteranopia (green-blind)
#E0D292
Tritanopia (blue-blind)
#CFD2C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c8d98f;
/* rgb */ color: rgb(200, 217, 143);
/* oklch */ color: oklch(85.5% 0.098 119.1);
Tailwind
colors: {
  custom: {
    50: '#d9e4b0',
    500: '#c8d98f',
    950: '#000000',
  },
}
SCSS
$custom: #c8d98f;
$custom-light: #d9e4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d98f",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 143
  },
  "hsl": {
    "h": 73.784,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.85507,
    "c": 0.09808,
    "h": 119.1
  },
  "luminance": 0.63888
}

Semantic roles & 50–950 ramp

primary
#C8D98F
secondary
#705CB0
accent
#29BD4B
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8D98F

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

Preview Lab → · Contrast checker → · Palette generator →

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