#C8E871#C8E871

#C8E871 is a very light, vivid yellow-green. Relative luminance 0.712; OKLCH L 88.3% C 0.150 H 122.0°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#C8E871
RGBrgb(200, 232, 113)
HSLhsl(76, 72%, 68%)
HSVhsv(76, 51%, 91%)
CMYKcmyk(13.8%, 0%, 51.3%, 9%)
CIE-LABlab(87.57, -28.13, 53.82)
CIE-LCHlch(87.57, 60.73, 117.60°)
OKLaboklab(88.31% -0.0795 0.1273)
OKLCHoklch(88.31% 0.15 122)
XYZxyz(55.6570, 71.1848, 26.4275)
Luminance0.7118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E871 #9171E8
analogous
#E8CC71 #C8E871 #8DE871
triadic
#C8E871 #71C8E8 #E871C8
tetradic
#C8E871 #71E8CC #9171E8 #E8718D
square
#C8E871 #71E8CC #9171E8 #E8718D
split-complementary
#C8E871 #718DE8 #CC71E8
monochromatic
#94C01F #B4DF3C #C8E871 #DCF1A6 #F1F9DA

Accessibility & contrast

On white

1.38
#C8E871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#C8E871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E871
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E871#FFFFFF#000000##000000
##C8E8711.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#F0DC78
Tritanopia (blue-blind)
#D0DECD
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c8e871;
/* rgb */ color: rgb(200, 232, 113);
/* oklch */ color: oklch(88.3% 0.150 122.0);
Tailwind
colors: {
  custom: {
    50: '#dbef9d',
    500: '#c8e871',
    950: '#000000',
  },
}
SCSS
$custom: #c8e871;
$custom-light: #dbef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e871",
  "rgb": {
    "r": 200,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 76.134,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88314,
    "c": 0.15013,
    "h": 122
  },
  "luminance": 0.71185
}

Semantic roles & 50–950 ramp

primary
#C8E871
secondary
#613FBF
accent
#11D446
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #C8E871

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

Preview Lab → · Contrast checker → · Palette generator →

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