#C8FB98#C8FB98

#C8FB98 is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.0% C 0.137 H 130.9°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#C8FB98
RGBrgb(200, 251, 152)
HSLhsl(91, 93%, 79%)
HSVhsv(91, 39%, 98%)
CMYKcmyk(20.3%, 0%, 39.4%, 1.6%)
CIE-LABlab(93.25, -32.70, 42.25)
CIE-LCHlch(93.25, 53.43, 127.74°)
OKLaboklab(93.04% -0.0897 0.1037)
OKLCHoklch(93.04% 0.137 130.9)
XYZxyz(63.9831, 83.5395, 42.4535)
Luminance0.8354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8FB98 #CB98FB
analogous
#FAFB98 #C8FB98 #98FB9A
triadic
#C8FB98 #98C8FB #FB98C8
tetradic
#C8FB98 #98FAFB #CB98FB #FB9A98
square
#C8FB98 #98FAFB #CB98FB #FB9A98
split-complementary
#C8FB98 #9A98FB #FB98FA
monochromatic
#89F622 #A9F95D #C8FB98 #E7FDD3 #EFFEE2

Accessibility & contrast

On white

1.19
#C8FB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#C8FB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8FB98
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8FB98#FFFFFF#000000##000000
##C8FB981.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FCEA9D
Tritanopia (blue-blind)
#CBF3E3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #c8fb98;
/* rgb */ color: rgb(200, 251, 152);
/* oklch */ color: oklch(93.0% 0.137 130.9);
Tailwind
colors: {
  custom: {
    50: '#dafdb7',
    500: '#c8fb98',
    950: '#000000',
  },
}
SCSS
$custom: #c8fb98;
$custom-light: #dafdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8fb98",
  "rgb": {
    "r": 200,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 90.909,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93039,
    "c": 0.13715,
    "h": 130.9
  },
  "luminance": 0.83541
}

Semantic roles & 50–950 ramp

primary
#C8FB98
secondary
#9E5BDC
accent
#00E676
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8FB98

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

Preview Lab → · Contrast checker → · Palette generator →

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