#C8F799#C8F799

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

Color values

HEX#C8F799
RGBrgb(200, 247, 153)
HSLhsl(90, 85%, 78%)
HSVhsv(90, 38%, 97%)
CMYKcmyk(19%, 0%, 38.1%, 3.1%)
CIE-LABlab(92.18, -30.72, 40.38)
CIE-LCHlch(92.18, 50.73, 127.27°)
OKLaboklab(92.18% -0.0841 0.0995)
OKLCHoklch(92.18% 0.13 130.2)
XYZxyz(62.8290, 81.0998, 42.4745)
Luminance0.8110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F799 #C899F7
analogous
#F7F799 #C8F799 #99F799
triadic
#C8F799 #99C8F7 #F799C8
tetradic
#C8F799 #99F7F7 #C899F7 #F79999
square
#C8F799 #99F7F7 #C899F7 #F79999
split-complementary
#C8F799 #9999F7 #F799F7
monochromatic
#8BEE27 #A9F360 #C8F799 #E7FBD2 #F0FDE3

Accessibility & contrast

On white

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

On black

17.22
#C8F799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F799
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F799#FFFFFF#000000##000000
##C8F7991.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB92
Deuteranopia (green-blind)
#F8E79E
Tritanopia (blue-blind)
#CBF0E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f799;
/* rgb */ color: rgb(200, 247, 153);
/* oklch */ color: oklch(92.2% 0.130 130.2);
Tailwind
colors: {
  custom: {
    50: '#dafab8',
    500: '#c8f799',
    950: '#000000',
  },
}
SCSS
$custom: #c8f799;
$custom-light: #dafab8;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f799",
  "rgb": {
    "r": 200,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 90,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92179,
    "c": 0.13027,
    "h": 130.2
  },
  "luminance": 0.81101
}

Semantic roles & 50–950 ramp

primary
#C8F799
secondary
#9A5ED6
accent
#04E273
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8F799

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

Preview Lab → · Contrast checker → · Palette generator →

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