#C8E987#C8E987

#C8E987 is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.8% C 0.129 H 124.2°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#C8E987
RGBrgb(200, 233, 135)
HSLhsl(80, 69%, 72%)
HSVhsv(80, 42%, 91%)
CMYKcmyk(14.2%, 0%, 42.1%, 8.6%)
CIE-LABlab(88.12, -26.31, 44.02)
CIE-LCHlch(88.12, 51.28, 120.87°)
OKLaboklab(88.84% -0.0727 0.107)
OKLCHoklch(88.84% 0.129 124.2)
XYZxyz(57.3313, 72.3062, 33.8531)
Luminance0.7231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E987 #A887E9
analogous
#E9D987 #C8E987 #97E987
triadic
#C8E987 #87C8E9 #E987C8
tetradic
#C8E987 #87E9D9 #A887E9 #E98797
square
#C8E987 #87E9D9 #A887E9 #E98797
split-complementary
#C8E987 #8797E9 #D987E9
monochromatic
#96D026 #B0E053 #C8E987 #E0F2BB #F3FAE5

Accessibility & contrast

On white

1.36
#C8E987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#C8E987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E987
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E987#FFFFFF#000000##000000
##C8E9871.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE7F
Deuteranopia (green-blind)
#EEDD8C
Tritanopia (blue-blind)
#CEE0D1
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c8e987;
/* rgb */ color: rgb(200, 233, 135);
/* oklch */ color: oklch(88.8% 0.129 124.2);
Tailwind
colors: {
  custom: {
    50: '#daf0ab',
    500: '#c8e987',
    950: '#000000',
  },
}
SCSS
$custom: #c8e987;
$custom-light: #daf0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e987",
  "rgb": {
    "r": 200,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 80.204,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.88836,
    "c": 0.1294,
    "h": 124.2
  },
  "luminance": 0.72306
}

Semantic roles & 50–950 ramp

primary
#C8E987
secondary
#7852C3
accent
#15D154
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #C8E987

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

Preview Lab → · Contrast checker → · Palette generator →

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