#C8F797#C8F797

#C8F797 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.1% C 0.132 H 129.9°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#C8F797
RGBrgb(200, 247, 151)
HSLhsl(89, 86%, 78%)
HSVhsv(89, 39%, 97%)
CMYKcmyk(19%, 0%, 38.9%, 3.1%)
CIE-LABlab(92.15, -30.97, 41.32)
CIE-LCHlch(92.15, 51.64, 126.85°)
OKLaboklab(92.15% -0.0849 0.1016)
OKLCHoklch(92.15% 0.132 129.9)
XYZxyz(62.6652, 81.0342, 41.6118)
Luminance0.8104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F797 #C697F7
analogous
#F7F697 #C8F797 #98F797
triadic
#C8F797 #97C8F7 #F797C8
tetradic
#C8F797 #97F7F6 #C697F7 #F79798
square
#C8F797 #97F7F6 #C697F7 #F79798
split-complementary
#C8F797 #9798F7 #F697F7
monochromatic
#8CEE25 #AAF35E #C8F797 #E6FBD0 #F0FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8F797#FFFFFF#000000##000000
##C8F7971.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)
#FFEB90
Deuteranopia (green-blind)
#F8E79C
Tritanopia (blue-blind)
#CBEFDF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c8f797;
/* rgb */ color: rgb(200, 247, 151);
/* oklch */ color: oklch(92.1% 0.132 129.9);
Tailwind
colors: {
  custom: {
    50: '#dafab6',
    500: '#c8f797',
    950: '#000000',
  },
}
SCSS
$custom: #c8f797;
$custom-light: #dafab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f797",
  "rgb": {
    "r": 200,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 89.375,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92146,
    "c": 0.1324,
    "h": 129.9
  },
  "luminance": 0.81035
}

Semantic roles & 50–950 ramp

primary
#C8F797
secondary
#985CD6
accent
#03E270
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8F797

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

Preview Lab → · Contrast checker → · Palette generator →

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