#C2E878#C2E878

#C2E878 is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 88.0% C 0.146 H 124.8°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#C2E878
RGBrgb(194, 232, 120)
HSLhsl(80, 71%, 69%)
HSVhsv(80, 48%, 91%)
CMYKcmyk(16.4%, 0%, 48.3%, 9%)
CIE-LABlab(87.26, -29.71, 50.08)
CIE-LCHlch(87.26, 58.23, 120.68°)
OKLaboklab(87.99% -0.0831 0.1197)
OKLCHoklch(87.99% 0.146 124.8)
XYZxyz(54.4949, 70.5382, 28.5099)
Luminance0.7054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E878 #9E78E8
analogous
#E8D678 #C2E878 #8AE878
triadic
#C2E878 #78C2E8 #E878C2
tetradic
#C2E878 #78E8D6 #9E78E8 #E8788A
square
#C2E878 #78E8D6 #9E78E8 #E8788A
split-complementary
#C2E878 #788AE8 #D678E8
monochromatic
#8DC421 #AADF44 #C2E878 #DAF1AC #F1FAE1

Accessibility & contrast

On white

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

On black

15.11
#C2E878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E878
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E878#FFFFFF#000000##000000
##C2E8781.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6E
Deuteranopia (green-blind)
#EDDA7E
Tritanopia (blue-blind)
#C9DFCE
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c2e878;
/* rgb */ color: rgb(194, 232, 120);
/* oklch */ color: oklch(88.0% 0.146 124.8);
Tailwind
colors: {
  custom: {
    50: '#d6efa1',
    500: '#c2e878',
    950: '#000000',
  },
}
SCSS
$custom: #c2e878;
$custom-light: #d6efa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e878",
  "rgb": {
    "r": 194,
    "g": 232,
    "b": 120
  },
  "hsl": {
    "h": 80.357,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87987,
    "c": 0.14573,
    "h": 124.8
  },
  "luminance": 0.70539
}

Semantic roles & 50–950 ramp

primary
#C2E878
secondary
#6E44C0
accent
#13D354
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14160F
muted
#838580

Preview Lab

Preview with #C2E878

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

Preview Lab → · Contrast checker → · Palette generator →

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