#C8F987#C8F987

#C8F987 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.3% C 0.152 H 128.2°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#C8F987
RGBrgb(200, 249, 135)
HSLhsl(86, 90%, 75%)
HSVhsv(86, 46%, 98%)
CMYKcmyk(19.7%, 0%, 45.8%, 2.4%)
CIE-LABlab(92.48, -33.78, 49.46)
CIE-LCHlch(92.48, 59.90, 124.33°)
OKLaboklab(92.34% -0.0937 0.1193)
OKLCHoklch(92.34% 0.152 128.2)
XYZxyz(62.0678, 81.7791, 35.4319)
Luminance0.8178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F987 #B887F9
analogous
#F9F187 #C8F987 #8FF987
triadic
#C8F987 #87C8F9 #F987C8
tetradic
#C8F987 #87F9F1 #B887F9 #F9878F
square
#C8F987 #87F9F1 #B887F9 #F9878F
split-complementary
#C8F987 #878FF9 #F187F9
monochromatic
#93F312 #ADF64D #C8F987 #E3FCC1 #F2FEE2

Accessibility & contrast

On white

1.21
#C8F987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#C8F987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F987
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F987#FFFFFF#000000##000000
##C8F9871.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FCE88E
Tritanopia (blue-blind)
#CDF0DE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c8f987;
/* rgb */ color: rgb(200, 249, 135);
/* oklch */ color: oklch(92.3% 0.152 128.2);
Tailwind
colors: {
  custom: {
    50: '#dafbac',
    500: '#c8f987',
    950: '#000000',
  },
}
SCSS
$custom: #c8f987;
$custom-light: #dafbac;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f987",
  "rgb": {
    "r": 200,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 85.789,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92342,
    "c": 0.15165,
    "h": 128.2
  },
  "luminance": 0.8178
}

Semantic roles & 50–950 ramp

primary
#C8F987
secondary
#884DD7
accent
#00E663
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #C8F987

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

Preview Lab → · Contrast checker → · Palette generator →

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