#C8E772#C8E772

#C8E772 is a very light, vivid yellow-green. Relative luminance 0.706; OKLCH L 88.1% C 0.148 H 121.8°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#C8E772
RGBrgb(200, 231, 114)
HSLhsl(76, 71%, 68%)
HSVhsv(76, 51%, 91%)
CMYKcmyk(13.4%, 0%, 50.6%, 9.4%)
CIE-LABlab(87.31, -27.57, 53.05)
CIE-LCHlch(87.31, 59.78, 117.46°)
OKLaboklab(88.11% -0.0778 0.1257)
OKLCHoklch(88.11% 0.148 121.8)
XYZxyz(55.4329, 70.6461, 26.6321)
Luminance0.7065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E772 #9172E7
analogous
#E7CB72 #C8E772 #8EE772
triadic
#C8E772 #72C8E7 #E772C8
tetradic
#C8E772 #72E7CB #9172E7 #E7728E
square
#C8E772 #72E7CB #9172E7 #E7728E
split-complementary
#C8E772 #728EE7 #CB72E7
monochromatic
#94BE20 #B4DE3E #C8E772 #DCF0A6 #F1F9DB

Accessibility & contrast

On white

1.39
#C8E772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.13
#C8E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E772
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E772#FFFFFF#000000##000000
##C8E7721.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB67
Deuteranopia (green-blind)
#EFDB79
Tritanopia (blue-blind)
#D0DDCC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c8e772;
/* rgb */ color: rgb(200, 231, 114);
/* oklch */ color: oklch(88.1% 0.148 121.8);
Tailwind
colors: {
  custom: {
    50: '#dbee9d',
    500: '#c8e772',
    950: '#000000',
  },
}
SCSS
$custom: #c8e772;
$custom-light: #dbee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e772",
  "rgb": {
    "r": 200,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 75.897,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88107,
    "c": 0.14788,
    "h": 121.8
  },
  "luminance": 0.70646
}

Semantic roles & 50–950 ramp

primary
#C8E772
secondary
#6140BD
accent
#13D346
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #C8E772

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

Preview Lab → · Contrast checker → · Palette generator →

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