#C2E771#C2E771

#C2E771 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.7% C 0.151 H 123.9°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#C2E771
RGBrgb(194, 231, 113)
HSLhsl(79, 71%, 67%)
HSVhsv(79, 51%, 91%)
CMYKcmyk(16%, 0%, 51.1%, 9.4%)
CIE-LABlab(86.91, -29.94, 52.93)
CIE-LCHlch(86.91, 60.81, 119.50°)
OKLaboklab(87.68% -0.0843 0.1255)
OKLCHoklch(87.68% 0.151 123.9)
XYZxyz(53.8048, 69.8131, 26.2603)
Luminance0.6981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E771 #9671E7
analogous
#E7D171 #C2E771 #87E771
triadic
#C2E771 #71C2E7 #E771C2
tetradic
#C2E771 #71E7D1 #9671E7 #E77187
square
#C2E771 #71E7D1 #9671E7 #E77187
split-complementary
#C2E771 #7187E7 #D171E7
monochromatic
#8CBE20 #ACDE3D #C2E771 #D8F0A5 #EFF9DA

Accessibility & contrast

On white

1.40
#C2E771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#C2E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E771
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E771#FFFFFF#000000##000000
##C2E7711.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB66
Deuteranopia (green-blind)
#EDD978
Tritanopia (blue-blind)
#C9DDCC
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c2e771;
/* rgb */ color: rgb(194, 231, 113);
/* oklch */ color: oklch(87.7% 0.151 123.9);
Tailwind
colors: {
  custom: {
    50: '#d6ee9d',
    500: '#c2e771',
    950: '#000000',
  },
}
SCSS
$custom: #c2e771;
$custom-light: #d6ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e771",
  "rgb": {
    "r": 194,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 78.814,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87675,
    "c": 0.15114,
    "h": 123.9
  },
  "luminance": 0.69813
}

Semantic roles & 50–950 ramp

primary
#C2E771
secondary
#673FBD
accent
#12D34F
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #C2E771

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

Preview Lab → · Contrast checker → · Palette generator →

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