#C8E787#C8E787

#C8E787 is a very light, vivid yellow-green. Relative luminance 0.712; OKLCH L 88.4% C 0.127 H 123.6°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#C8E787
RGBrgb(200, 231, 135)
HSLhsl(79, 67%, 72%)
HSVhsv(79, 42%, 91%)
CMYKcmyk(13.4%, 0%, 41.6%, 9.4%)
CIE-LABlab(87.57, -25.36, 43.33)
CIE-LCHlch(87.57, 50.21, 120.34°)
OKLaboklab(88.4% -0.0701 0.1055)
OKLCHoklch(88.4% 0.127 123.6)
XYZxyz(56.7683, 71.1802, 33.6654)
Luminance0.7118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E787 #A687E7
analogous
#E7D687 #C8E787 #98E787
triadic
#C8E787 #87C8E7 #E787C8
tetradic
#C8E787 #87E7D6 #A687E7 #E78798
square
#C8E787 #87E7D6 #A687E7 #E78798
split-complementary
#C8E787 #8798E7 #D687E7
monochromatic
#97CB29 #B1DD54 #C8E787 #DFF1BA #F3FAE5

Accessibility & contrast

On white

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

On black

15.24
#C8E787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E787
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E787#FFFFFF#000000##000000
##C8E7871.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC80
Deuteranopia (green-blind)
#EDDB8C
Tritanopia (blue-blind)
#CEDFD0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c8e787;
/* rgb */ color: rgb(200, 231, 135);
/* oklch */ color: oklch(88.4% 0.127 123.6);
Tailwind
colors: {
  custom: {
    50: '#daeeab',
    500: '#c8e787',
    950: '#000000',
  },
}
SCSS
$custom: #c8e787;
$custom-light: #daeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e787",
  "rgb": {
    "r": 200,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 79.375,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.884,
    "c": 0.12662,
    "h": 123.6
  },
  "luminance": 0.7118
}

Semantic roles & 50–950 ramp

primary
#C8E787
secondary
#7652C0
accent
#17CF52
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #C8E787

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

Preview Lab → · Contrast checker → · Palette generator →

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