#C8F798#C8F798

#C8F798 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.2% C 0.131 H 130.1°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#C8F798
RGBrgb(200, 247, 152)
HSLhsl(90, 86%, 78%)
HSVhsv(90, 38%, 97%)
CMYKcmyk(19%, 0%, 38.5%, 3.1%)
CIE-LABlab(92.16, -30.85, 40.85)
CIE-LCHlch(92.16, 51.19, 127.06°)
OKLaboklab(92.16% -0.0845 0.1005)
OKLCHoklch(92.16% 0.131 130.1)
XYZxyz(62.7468, 81.0669, 42.0413)
Luminance0.8107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F798 #C798F7
analogous
#F7F698 #C8F798 #98F798
triadic
#C8F798 #98C8F7 #F798C8
tetradic
#C8F798 #98F7F6 #C798F7 #F79898
square
#C8F798 #98F7F6 #C798F7 #F79898
split-complementary
#C8F798 #9898F7 #F698F7
monochromatic
#8BEE26 #AAF35F #C8F798 #E6FBD1 #F0FDE3

Accessibility & contrast

On white

1.22
#C8F798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#C8F798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F798
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F798#FFFFFF#000000##000000
##C8F7981.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#F8E79D
Tritanopia (blue-blind)
#CBEFDF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c8f798;
/* rgb */ color: rgb(200, 247, 152);
/* oklch */ color: oklch(92.2% 0.131 130.1);
Tailwind
colors: {
  custom: {
    50: '#dafab7',
    500: '#c8f798',
    950: '#000000',
  },
}
SCSS
$custom: #c8f798;
$custom-light: #dafab7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f798",
  "rgb": {
    "r": 200,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 89.684,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92163,
    "c": 0.13134,
    "h": 130.1
  },
  "luminance": 0.81068
}

Semantic roles & 50–950 ramp

primary
#C8F798
secondary
#995DD6
accent
#03E272
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8F798

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

Preview Lab → · Contrast checker → · Palette generator →

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