#C2E271#C2E271

#C2E271 is a very light, vivid yellow-green. Relative luminance 0.671; OKLCH L 86.6% C 0.145 H 122.5°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#C2E271
RGBrgb(194, 226, 113)
HSLhsl(77, 66%, 66%)
HSVhsv(77, 50%, 89%)
CMYKcmyk(14.2%, 0%, 50%, 11.4%)
CIE-LABlab(85.53, -27.58, 51.29)
CIE-LCHlch(85.53, 58.24, 118.27°)
OKLaboklab(86.57% -0.0777 0.1219)
OKLCHoklch(86.57% 0.145 122.5)
XYZxyz(52.4253, 67.0542, 25.8004)
Luminance0.6705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E271 #9171E2
analogous
#E2CA71 #C2E271 #8AE271
triadic
#C2E271 #71C2E2 #E271C2
tetradic
#C2E271 #71E2CA #9171E2 #E2718A
square
#C2E271 #71E2CA #9171E2 #E2718A
split-complementary
#C2E271 #718AE2 #CA71E2
monochromatic
#8BB425 #ACD83E #C2E271 #D8ECA4 #EEF7D7

Accessibility & contrast

On white

1.46
#C2E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#C2E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E271
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E271#FFFFFF#000000##000000
##C2E2711.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD767
Deuteranopia (green-blind)
#E9D678
Tritanopia (blue-blind)
#CAD8C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c2e271;
/* rgb */ color: rgb(194, 226, 113);
/* oklch */ color: oklch(86.6% 0.145 122.5);
Tailwind
colors: {
  custom: {
    50: '#d6eb9c',
    500: '#c2e271',
    950: '#000000',
  },
}
SCSS
$custom: #c2e271;
$custom-light: #d6eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e271",
  "rgb": {
    "r": 194,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 76.991,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86571,
    "c": 0.14452,
    "h": 122.5
  },
  "luminance": 0.67054
}

Semantic roles & 50–950 ramp

primary
#C2E271
secondary
#6342B5
accent
#18CE4B
background
#FEFEFC
surface
#FBFDF5
border
#D4D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #C2E271

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

Preview Lab → · Contrast checker → · Palette generator →

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