#C2E879#C2E879

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

Color values

HEX#C2E879
RGBrgb(194, 232, 121)
HSLhsl(81, 71%, 69%)
HSVhsv(81, 48%, 91%)
CMYKcmyk(16.4%, 0%, 47.8%, 9%)
CIE-LABlab(87.27, -29.61, 49.63)
CIE-LCHlch(87.27, 57.79, 120.82°)
OKLaboklab(88% -0.0827 0.1188)
OKLCHoklch(88% 0.145 124.8)
XYZxyz(54.5559, 70.5626, 28.8312)
Luminance0.7056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E879 #9F79E8
analogous
#E8D779 #C2E879 #8BE879
triadic
#C2E879 #79C2E8 #E879C2
tetradic
#C2E879 #79E8D7 #9F79E8 #E8798B
square
#C2E879 #79E8D7 #9F79E8 #E8798B
split-complementary
#C2E879 #798BE8 #D779E8
monochromatic
#8DC522 #AADF45 #C2E879 #DAF1AD #F2FAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2E879#FFFFFF#000000##000000
##C2E8791.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)
#F3DC6F
Deuteranopia (green-blind)
#EDDA7F
Tritanopia (blue-blind)
#C9DFCE
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c2e879;
/* rgb */ color: rgb(194, 232, 121);
/* oklch */ color: oklch(88.0% 0.145 124.8);
Tailwind
colors: {
  custom: {
    50: '#d6efa2',
    500: '#c2e879',
    950: '#000000',
  },
}
SCSS
$custom: #c2e879;
$custom-light: #d6efa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e879",
  "rgb": {
    "r": 194,
    "g": 232,
    "b": 121
  },
  "hsl": {
    "h": 80.541,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88,
    "c": 0.14475,
    "h": 124.8
  },
  "luminance": 0.70563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2E879

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

Preview Lab → · Contrast checker → · Palette generator →

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