#C2E157#C2E157

#C2E157 is a very light, vivid yellow-green. Relative luminance 0.660; OKLCH L 86.1% C 0.166 H 120.7°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#C2E157
RGBrgb(194, 225, 87)
HSLhsl(73, 70%, 61%)
HSVhsv(73, 61%, 88%)
CMYKcmyk(13.8%, 0%, 61.3%, 11.8%)
CIE-LABlab(85.00, -29.33, 62.23)
CIE-LCHlch(85.00, 68.80, 115.23°)
OKLaboklab(86.06% -0.0849 0.1428)
OKLCHoklch(86.06% 0.166 120.7)
XYZxyz(50.8943, 66.0080, 19.0746)
Luminance0.6601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E157 #7657E1
analogous
#E1BB57 #C2E157 #7DE157
triadic
#C2E157 #57C2E1 #E157C2
tetradic
#C2E157 #57E1BB #7657E1 #E1577D
square
#C2E157 #57E1BB #7657E1 #E1577D
split-complementary
#C2E157 #577DE1 #BB57E1
monochromatic
#83A11D #AED526 #C2E157 #D5EA8B #E8F4BF

Accessibility & contrast

On white

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

On black

14.20
#C2E157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E157
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E157#FFFFFF#000000##000000
##C2E1571.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED546
Deuteranopia (green-blind)
#EAD561
Tritanopia (blue-blind)
#CCD6C4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c2e157;
/* rgb */ color: rgb(194, 225, 87);
/* oklch */ color: oklch(86.1% 0.166 120.7);
Tailwind
colors: {
  custom: {
    50: '#d7ea8c',
    500: '#c2e157',
    950: '#000000',
  },
}
SCSS
$custom: #c2e157;
$custom-light: #d7ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e157",
  "rgb": {
    "r": 194,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 73.478,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86061,
    "c": 0.1661,
    "h": 120.7
  },
  "luminance": 0.66008
}

Semantic roles & 50–950 ramp

primary
#C2E157
secondary
#5138A4
accent
#14D23E
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C2E157

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

Preview Lab → · Contrast checker → · Palette generator →

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