#C8E878#C8E878

#C8E878 is a very light, vivid yellow-green. Relative luminance 0.713; OKLCH L 88.4% C 0.143 H 122.5°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#C8E878
RGBrgb(200, 232, 120)
HSLhsl(77, 71%, 69%)
HSVhsv(77, 48%, 91%)
CMYKcmyk(13.8%, 0%, 48.3%, 9%)
CIE-LABlab(87.65, -27.45, 50.65)
CIE-LCHlch(87.65, 57.61, 118.46°)
OKLaboklab(88.4% -0.077 0.1209)
OKLCHoklch(88.4% 0.143 122.5)
XYZxyz(56.0664, 71.3485, 28.5836)
Luminance0.7135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E878 #9878E8
analogous
#E8D078 #C8E878 #90E878
triadic
#C8E878 #78C8E8 #E878C8
tetradic
#C8E878 #78E8D0 #9878E8 #E87890
square
#C8E878 #78E8D0 #9878E8 #E87890
split-complementary
#C8E878 #7890E8 #D078E8
monochromatic
#96C421 #B3DF44 #C8E878 #DDF1AC #F3FAE1

Accessibility & contrast

On white

1.38
#C8E878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#C8E878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E878
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E878#FFFFFF#000000##000000
##C8E8781.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6E
Deuteranopia (green-blind)
#EFDC7E
Tritanopia (blue-blind)
#D0DECE
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c8e878;
/* rgb */ color: rgb(200, 232, 120);
/* oklch */ color: oklch(88.4% 0.143 122.5);
Tailwind
colors: {
  custom: {
    50: '#daefa1',
    500: '#c8e878',
    950: '#000000',
  },
}
SCSS
$custom: #c8e878;
$custom-light: #daefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e878",
  "rgb": {
    "r": 200,
    "g": 232,
    "b": 120
  },
  "hsl": {
    "h": 77.143,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88404,
    "c": 0.14338,
    "h": 122.5
  },
  "luminance": 0.71349
}

Semantic roles & 50–950 ramp

primary
#C8E878
secondary
#6844C0
accent
#13D34A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #C8E878

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

Preview Lab → · Contrast checker → · Palette generator →

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