#C8F871#C8F871

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

Color values

HEX#C8F871
RGBrgb(200, 248, 113)
HSLhsl(81, 91%, 71%)
HSVhsv(81, 54%, 97%)
CMYKcmyk(19.4%, 0%, 54.4%, 2.7%)
CIE-LABlab(91.96, -35.54, 58.95)
CIE-LCHlch(91.96, 68.83, 121.08°)
OKLaboklab(91.84% -0.1002 0.1385)
OKLCHoklch(91.84% 0.171 125.9)
XYZxyz(60.3674, 80.6057, 27.9977)
Luminance0.8061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F871 #A171F8
analogous
#F8E471 #C8F871 #84F871
triadic
#C8F871 #71C8F8 #F871C8
tetradic
#C8F871 #71F8E4 #A171F8 #F87184
square
#C8F871 #71F8E4 #A171F8 #F87184
split-complementary
#C8F871 #7184F8 #E471F8
monochromatic
#97E30B #B1F537 #C8F871 #DFFBAB #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8F871#FFFFFF#000000##000000
##C8F8711.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)
#FFEA64
Deuteranopia (green-blind)
#FDE77A
Tritanopia (blue-blind)
#CFEEDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c8f871;
/* rgb */ color: rgb(200, 248, 113);
/* oklch */ color: oklch(91.8% 0.171 125.9);
Tailwind
colors: {
  custom: {
    50: '#dbfa9d',
    500: '#c8f871',
    950: '#000000',
  },
}
SCSS
$custom: #c8f871;
$custom-light: #dbfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f871",
  "rgb": {
    "r": 200,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 81.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91842,
    "c": 0.17092,
    "h": 125.9
  },
  "luminance": 0.80606
}

Semantic roles & 50–950 ramp

primary
#C8F871
secondary
#713AD3
accent
#00E652
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F871

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

Preview Lab → · Contrast checker → · Palette generator →

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