#C8F870#C8F870

#C8F870 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.8% C 0.172 H 125.8°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#C8F870
RGBrgb(200, 248, 112)
HSLhsl(81, 91%, 71%)
HSVhsv(81, 55%, 97%)
CMYKcmyk(19.4%, 0%, 54.8%, 2.7%)
CIE-LABlab(91.95, -35.63, 59.38)
CIE-LCHlch(91.95, 69.25, 120.96°)
OKLaboklab(91.83% -0.1006 0.1393)
OKLCHoklch(91.83% 0.172 125.8)
XYZxyz(60.3115, 80.5833, 27.7028)
Luminance0.8058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F870 #A070F8
analogous
#F8E470 #C8F870 #84F870
triadic
#C8F870 #70C8F8 #F870C8
tetradic
#C8F870 #70F8E4 #A070F8 #F87084
square
#C8F870 #70F8E4 #A070F8 #F87084
split-complementary
#C8F870 #7084F8 #E470F8
monochromatic
#96E30B #B2F536 #C8F870 #DEFBAA #F4FEE2

Accessibility & contrast

On white

1.23
#C8F870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#C8F870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F870
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F870#FFFFFF#000000##000000
##C8F8701.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA62
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#CFEEDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c8f870;
/* rgb */ color: rgb(200, 248, 112);
/* oklch */ color: oklch(91.8% 0.172 125.8);
Tailwind
colors: {
  custom: {
    50: '#dbfa9d',
    500: '#c8f870',
    950: '#000000',
  },
}
SCSS
$custom: #c8f870;
$custom-light: #dbfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f870",
  "rgb": {
    "r": 200,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 81.176,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91831,
    "c": 0.1718,
    "h": 125.8
  },
  "luminance": 0.80584
}

Semantic roles & 50–950 ramp

primary
#C8F870
secondary
#7039D3
accent
#00E651
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F870

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

Preview Lab → · Contrast checker → · Palette generator →

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