#C8F796#C8F796

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

Color values

HEX#C8F796
RGBrgb(200, 247, 150)
HSLhsl(89, 86%, 78%)
HSVhsv(89, 39%, 97%)
CMYKcmyk(19%, 0%, 39.3%, 3.1%)
CIE-LABlab(92.13, -31.10, 41.79)
CIE-LCHlch(92.13, 52.09, 126.65°)
OKLaboklab(92.13% -0.0853 0.1026)
OKLCHoklch(92.13% 0.133 129.8)
XYZxyz(62.5843, 81.0019, 41.1859)
Luminance0.8100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F796 #C596F7
analogous
#F7F596 #C8F796 #97F796
triadic
#C8F796 #96C8F7 #F796C8
tetradic
#C8F796 #96F7F5 #C596F7 #F79697
square
#C8F796 #96F7F5 #C596F7 #F79697
split-complementary
#C8F796 #9697F7 #F596F7
monochromatic
#8CEE24 #AAF35D #C8F796 #E6FBCF #F0FDE3

Accessibility & contrast

On white

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

On black

17.20
#C8F796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F796
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F796#FFFFFF#000000##000000
##C8F7961.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8f796;
/* rgb */ color: rgb(200, 247, 150);
/* oklch */ color: oklch(92.1% 0.133 129.8);
Tailwind
colors: {
  custom: {
    50: '#dafab6',
    500: '#c8f796',
    950: '#000000',
  },
}
SCSS
$custom: #c8f796;
$custom-light: #dafab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f796",
  "rgb": {
    "r": 200,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 89.072,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.9213,
    "c": 0.13346,
    "h": 129.8
  },
  "luminance": 0.81003
}

Semantic roles & 50–950 ramp

primary
#C8F796
secondary
#975BD6
accent
#03E26F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8F796

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

Preview Lab → · Contrast checker → · Palette generator →

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