#C8F587#C8F587

#C8F587 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.5% C 0.146 H 127.3°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#C8F587
RGBrgb(200, 245, 135)
HSLhsl(85, 85%, 75%)
HSVhsv(85, 45%, 96%)
CMYKcmyk(18.4%, 0%, 44.9%, 3.9%)
CIE-LABlab(91.38, -31.94, 48.11)
CIE-LCHlch(91.38, 57.75, 123.58°)
OKLaboklab(91.46% -0.0885 0.1162)
OKLCHoklch(91.46% 0.146 127.3)
XYZxyz(60.8446, 79.3327, 35.0242)
Luminance0.7933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F587 #B487F5
analogous
#F5EB87 #C8F587 #91F587
triadic
#C8F587 #87C8F5 #F587C8
tetradic
#C8F587 #87F5EB #B487F5 #F58791
square
#C8F587 #87F5EB #B487F5 #F58791
split-complementary
#C8F587 #8791F5 #EB87F5
monochromatic
#94EC16 #AEF04F #C8F587 #E2FABF #F2FDE3

Accessibility & contrast

On white

1.25
#C8F587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#C8F587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F587
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F587#FFFFFF#000000##000000
##C8F5871.001.2516.8716.87
#FFFFFF1.251.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87E
Deuteranopia (green-blind)
#F8E58D
Tritanopia (blue-blind)
#CDECDB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #c8f587;
/* rgb */ color: rgb(200, 245, 135);
/* oklch */ color: oklch(91.5% 0.146 127.3);
Tailwind
colors: {
  custom: {
    50: '#daf8ac',
    500: '#c8f587',
    950: '#000000',
  },
}
SCSS
$custom: #c8f587;
$custom-light: #daf8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f587",
  "rgb": {
    "r": 200,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 84.545,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91462,
    "c": 0.14612,
    "h": 127.3
  },
  "luminance": 0.79333
}

Semantic roles & 50–950 ramp

primary
#C8F587
secondary
#844ED2
accent
#04E15F
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #C8F587

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

Preview Lab → · Contrast checker → · Palette generator →

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