#C2E240#C2E240

#C2E240 is a very light, vivid yellow-green. Relative luminance 0.662; OKLCH L 86.1% C 0.183 H 120.3°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#C2E240
RGBrgb(194, 226, 64)
HSLhsl(72, 74%, 57%)
HSVhsv(72, 72%, 89%)
CMYKcmyk(14.2%, 0%, 71.7%, 11.4%)
CIE-LABlab(85.11, -31.22, 71.09)
CIE-LCHlch(85.11, 77.64, 113.71°)
OKLaboklab(86.1% -0.0922 0.1581)
OKLCHoklch(86.1% 0.183 120.3)
XYZxyz(50.3708, 66.2324, 14.9800)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E240 #6040E2
analogous
#E2B140 #C2E240 #71E240
triadic
#C2E240 #40C2E2 #E240C2
tetradic
#C2E240 #40E2B1 #6040E2 #E24071
square
#C2E240 #40E2B1 #6040E2 #E24071
split-complementary
#C2E240 #4071E2 #B140E2
monochromatic
#799216 #A5C71E #C2E240 #D3EA75 #E4F2AA

Accessibility & contrast

On white

1.47
#C2E240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#C2E240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E240
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E240#FFFFFF#000000##000000
##C2E2401.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D521
Deuteranopia (green-blind)
#ECD54E
Tritanopia (blue-blind)
#CDD6C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c2e240;
/* rgb */ color: rgb(194, 226, 64);
/* oklch */ color: oklch(86.1% 0.183 120.3);
Tailwind
colors: {
  custom: {
    50: '#d8eb7f',
    500: '#c2e240',
    950: '#000000',
  },
}
SCSS
$custom: #c2e240;
$custom-light: #d8eb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e240",
  "rgb": {
    "r": 194,
    "g": 226,
    "b": 64
  },
  "hsl": {
    "h": 71.852,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.86102,
    "c": 0.18303,
    "h": 120.3
  },
  "luminance": 0.66232
}

Semantic roles & 50–950 ramp

primary
#C2E240
secondary
#443096
accent
#38F05C
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C2E240

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

Preview Lab → · Contrast checker → · Palette generator →

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