#C8F771#C8F771

#C8F771 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.6% C 0.170 H 125.7°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#C8F771
RGBrgb(200, 247, 113)
HSLhsl(81, 89%, 71%)
HSVhsv(81, 54%, 97%)
CMYKcmyk(19%, 0%, 54.3%, 3.1%)
CIE-LABlab(91.68, -35.08, 58.63)
CIE-LCHlch(91.68, 68.33, 120.89°)
OKLaboklab(91.62% -0.099 0.1378)
OKLCHoklch(91.62% 0.17 125.7)
XYZxyz(60.0608, 79.9925, 27.8954)
Luminance0.7999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F771 #A071F7
analogous
#F7E371 #C8F771 #85F771
triadic
#C8F771 #71C8F7 #F771C8
tetradic
#C8F771 #71F7E3 #A071F7 #F77185
square
#C8F771 #71F7E3 #A071F7 #F77185
split-complementary
#C8F771 #7185F7 #E371F7
monochromatic
#96E10D #B2F437 #C8F771 #DEFAAB #F4FDE2

Accessibility & contrast

On white

1.24
#C8F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#C8F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F771
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F771#FFFFFF#000000##000000
##C8F7711.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FCE67A
Tritanopia (blue-blind)
#CFEDD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c8f771;
/* rgb */ color: rgb(200, 247, 113);
/* oklch */ color: oklch(91.6% 0.170 125.7);
Tailwind
colors: {
  custom: {
    50: '#dbfa9d',
    500: '#c8f771',
    950: '#000000',
  },
}
SCSS
$custom: #c8f771;
$custom-light: #dbfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f771",
  "rgb": {
    "r": 200,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 81.045,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9162,
    "c": 0.16963,
    "h": 125.7
  },
  "luminance": 0.79993
}

Semantic roles & 50–950 ramp

primary
#C8F771
secondary
#703AD2
accent
#00E650
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F771

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

Preview Lab → · Contrast checker → · Palette generator →

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