#C2E457#C2E457

#C2E457 is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 86.7% C 0.170 H 121.6°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#C2E457
RGBrgb(194, 228, 87)
HSLhsl(74, 72%, 62%)
HSVhsv(74, 62%, 89%)
CMYKcmyk(14.9%, 0%, 61.8%, 10.6%)
CIE-LABlab(85.83, -30.73, 63.13)
CIE-LCHlch(85.83, 70.21, 115.96°)
OKLaboklab(86.73% -0.0888 0.1447)
OKLCHoklch(86.73% 0.17 121.6)
XYZxyz(51.7124, 67.6442, 19.3473)
Luminance0.6764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E457 #7957E4
analogous
#E4C057 #C2E457 #7CE457
triadic
#C2E457 #57C2E4 #E457C2
tetradic
#C2E457 #57E4C0 #7957E4 #E4577C
square
#C2E457 #57E4C0 #7957E4 #E4577C
split-complementary
#C2E457 #577CE4 #C057E4
monochromatic
#84A61B #AEDB23 #C2E457 #D5EC8C #E8F5C0

Accessibility & contrast

On white

1.45
#C2E457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#C2E457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E457
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E457#FFFFFF#000000##000000
##C2E4571.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D746
Deuteranopia (green-blind)
#EDD761
Tritanopia (blue-blind)
#CCD9C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #c2e457;
/* rgb */ color: rgb(194, 228, 87);
/* oklch */ color: oklch(86.7% 0.170 121.6);
Tailwind
colors: {
  custom: {
    50: '#d7ec8c',
    500: '#c2e457',
    950: '#000000',
  },
}
SCSS
$custom: #c2e457;
$custom-light: #d7ec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e457",
  "rgb": {
    "r": 194,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 74.468,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86728,
    "c": 0.16974,
    "h": 121.6
  },
  "luminance": 0.67644
}

Semantic roles & 50–950 ramp

primary
#C2E457
secondary
#5237A8
accent
#11D440
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C2E457

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

Preview Lab → · Contrast checker → · Palette generator →

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