#C8F878#C8F878

#C8F878 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 91.9% C 0.165 H 126.5°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#C8F878
RGBrgb(200, 248, 120)
HSLhsl(83, 90%, 72%)
HSVhsv(83, 52%, 97%)
CMYKcmyk(19.4%, 0%, 51.6%, 2.7%)
CIE-LABlab(92.03, -34.88, 55.89)
CIE-LCHlch(92.03, 65.88, 121.97°)
OKLaboklab(91.92% -0.0978 0.1324)
OKLCHoklch(91.92% 0.165 126.5)
XYZxyz(60.7768, 80.7695, 30.1538)
Luminance0.8077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F878 #A878F8
analogous
#F8E878 #C8F878 #88F878
triadic
#C8F878 #78C8F8 #F878C8
tetradic
#C8F878 #78F8E8 #A878F8 #F87888
square
#C8F878 #78F8E8 #A878F8 #F87888
split-complementary
#C8F878 #7888F8 #E878F8
monochromatic
#96E90C #B0F53E #C8F878 #E0FBB2 #F3FDE2

Accessibility & contrast

On white

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

On black

17.15
#C8F878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F878
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F878#FFFFFF#000000##000000
##C8F8781.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#CEEEDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c8f878;
/* rgb */ color: rgb(200, 248, 120);
/* oklch */ color: oklch(91.9% 0.165 126.5);
Tailwind
colors: {
  custom: {
    50: '#dbfaa2',
    500: '#c8f878',
    950: '#000000',
  },
}
SCSS
$custom: #c8f878;
$custom-light: #dbfaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f878",
  "rgb": {
    "r": 200,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 82.5,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91924,
    "c": 0.16464,
    "h": 126.5
  },
  "luminance": 0.8077
}

Semantic roles & 50–950 ramp

primary
#C8F878
secondary
#7840D4
accent
#00E656
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F878

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

Preview Lab → · Contrast checker → · Palette generator →

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