#C2E151#C2E151

#C2E151 is a very light, vivid yellow-green. Relative luminance 0.659; OKLCH L 86.0% C 0.171 H 120.5°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#C2E151
RGBrgb(194, 225, 81)
HSLhsl(73, 71%, 60%)
HSVhsv(73, 64%, 88%)
CMYKcmyk(13.8%, 0%, 64%, 11.8%)
CIE-LABlab(84.95, -29.75, 64.62)
CIE-LCHlch(84.95, 71.14, 114.72°)
OKLaboklab(86.01% -0.0866 0.147)
OKLCHoklch(86.01% 0.171 120.5)
XYZxyz(50.6593, 65.9140, 17.8369)
Luminance0.6591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E151 #7051E1
analogous
#E1B851 #C2E151 #7AE151
triadic
#C2E151 #51C2E1 #E151C2
tetradic
#C2E151 #51E1B8 #7051E1 #E1517A
square
#C2E151 #51E1B8 #7051E1 #E1517A
split-complementary
#C2E151 #517AE1 #B851E1
monochromatic
#819D1B #ACD124 #C2E151 #D4EA85 #E7F3B9

Accessibility & contrast

On white

1.48
#C2E151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#C2E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E151
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E151#FFFFFF#000000##000000
##C2E1511.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED53E
Deuteranopia (green-blind)
#EBD45B
Tritanopia (blue-blind)
#CCD6C3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c2e151;
/* rgb */ color: rgb(194, 225, 81);
/* oklch */ color: oklch(86.0% 0.171 120.5);
Tailwind
colors: {
  custom: {
    50: '#d7ea88',
    500: '#c2e151',
    950: '#000000',
  },
}
SCSS
$custom: #c2e151;
$custom-light: #d7ea88;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e151",
  "rgb": {
    "r": 194,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 72.917,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.86007,
    "c": 0.17065,
    "h": 120.5
  },
  "luminance": 0.65914
}

Semantic roles & 50–950 ramp

primary
#C2E151
secondary
#4D36A0
accent
#3AED61
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C2E151

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

Preview Lab → · Contrast checker → · Palette generator →

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