#C8F87F#C8F87F

#C8F87F is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.0% C 0.158 H 127.1°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#C8F87F
RGBrgb(200, 248, 127)
HSLhsl(84, 90%, 74%)
HSVhsv(84, 49%, 97%)
CMYKcmyk(19.4%, 0%, 48.8%, 2.7%)
CIE-LABlab(92.11, -34.18, 52.77)
CIE-LCHlch(92.11, 62.87, 122.93°)
OKLaboklab(92.01% -0.0953 0.1261)
OKLCHoklch(92.01% 0.158 127.1)
XYZxyz(61.2173, 80.9457, 32.4734)
Luminance0.8095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F87F #AF7FF8
analogous
#F8EC7F #C8F87F #8BF87F
triadic
#C8F87F #7FC8F8 #F87FC8
tetradic
#C8F87F #7FF8EC #AF7FF8 #F87F8B
square
#C8F87F #7FF8EC #AF7FF8 #F87F8B
split-complementary
#C8F87F #7F8BF8 #EC7FF8
monochromatic
#96F00D #AFF545 #C8F87F #E1FBB9 #F3FDE2

Accessibility & contrast

On white

1.22
#C8F87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#C8F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F87F
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F87F#FFFFFF#000000##000000
##C8F87F1.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FCE886
Tritanopia (blue-blind)
#CEEFDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c8f87f;
/* rgb */ color: rgb(200, 248, 127);
/* oklch */ color: oklch(92.0% 0.158 127.1);
Tailwind
colors: {
  custom: {
    50: '#dbfaa6',
    500: '#c8f87f',
    950: '#000000',
  },
}
SCSS
$custom: #c8f87f;
$custom-light: #dbfaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f87f",
  "rgb": {
    "r": 200,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 83.802,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92013,
    "c": 0.15808,
    "h": 127.1
  },
  "luminance": 0.80946
}

Semantic roles & 50–950 ramp

primary
#C8F87F
secondary
#7F46D5
accent
#00E65B
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #C8F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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