#C2E787#C2E787

#C2E787 is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 88.0% C 0.129 H 126.1°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#C2E787
RGBrgb(194, 231, 135)
HSLhsl(83, 67%, 72%)
HSVhsv(83, 42%, 91%)
CMYKcmyk(16%, 0%, 41.6%, 9.4%)
CIE-LABlab(87.18, -27.58, 42.75)
CIE-LCHlch(87.18, 50.88, 122.83°)
OKLaboklab(87.98% -0.0761 0.1042)
OKLCHoklch(87.98% 0.129 126.1)
XYZxyz(55.1968, 70.3699, 33.5918)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E787 #AC87E7
analogous
#E7DC87 #C2E787 #92E787
triadic
#C2E787 #87C2E7 #E787C2
tetradic
#C2E787 #87E7DC #AC87E7 #E78792
square
#C2E787 #87E7DC #AC87E7 #E78792
split-complementary
#C2E787 #8792E7 #DC87E7
monochromatic
#8CCB29 #A8DD54 #C2E787 #DCF1BA #F2FAE5

Accessibility & contrast

On white

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

On black

15.07
#C2E787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E787
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E787#FFFFFF#000000##000000
##C2E7871.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC80
Deuteranopia (green-blind)
#EBDA8C
Tritanopia (blue-blind)
#C7DFD0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c2e787;
/* rgb */ color: rgb(194, 231, 135);
/* oklch */ color: oklch(88.0% 0.129 126.1);
Tailwind
colors: {
  custom: {
    50: '#d6eeab',
    500: '#c2e787',
    950: '#000000',
  },
}
SCSS
$custom: #c2e787;
$custom-light: #d6eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e787",
  "rgb": {
    "r": 194,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 83.125,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87983,
    "c": 0.129,
    "h": 126.1
  },
  "luminance": 0.7037
}

Semantic roles & 50–950 ramp

primary
#C2E787
secondary
#7C52C0
accent
#17CF5E
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#141610
muted
#838581

Preview Lab

Preview with #C2E787

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

Preview Lab → · Contrast checker → · Palette generator →

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