#C2E340#C2E340

#C2E340 is a very light, vivid yellow-green. Relative luminance 0.668; OKLCH L 86.3% C 0.184 H 120.5°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#C2E340
RGBrgb(194, 227, 64)
HSLhsl(72, 74%, 57%)
HSVhsv(72, 72%, 89%)
CMYKcmyk(14.5%, 0%, 71.8%, 11%)
CIE-LABlab(85.39, -31.68, 71.36)
CIE-LCHlch(85.39, 78.07, 113.94°)
OKLaboklab(86.33% -0.0935 0.1587)
OKLCHoklch(86.33% 0.184 120.5)
XYZxyz(50.6435, 66.7778, 15.0709)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E340 #6140E3
analogous
#E3B240 #C2E340 #71E340
triadic
#C2E340 #40C2E3 #E340C2
tetradic
#C2E340 #40E3B2 #6140E3 #E34071
square
#C2E340 #40E3B2 #6140E3 #E34071
split-complementary
#C2E340 #4071E3 #B240E3
monochromatic
#7A9316 #A6C81D #C2E340 #D3EB75 #E4F3AB

Accessibility & contrast

On white

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

On black

14.36
#C2E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E340
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E340#FFFFFF#000000##000000
##C2E3401.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D621
Deuteranopia (green-blind)
#EDD64E
Tritanopia (blue-blind)
#CDD7C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c2e340;
/* rgb */ color: rgb(194, 227, 64);
/* oklch */ color: oklch(86.3% 0.184 120.5);
Tailwind
colors: {
  custom: {
    50: '#d8eb7f',
    500: '#c2e340',
    950: '#000000',
  },
}
SCSS
$custom: #c2e340;
$custom-light: #d8eb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e340",
  "rgb": {
    "r": 194,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 72.147,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86325,
    "c": 0.18417,
    "h": 120.5
  },
  "luminance": 0.66778
}

Semantic roles & 50–950 ramp

primary
#C2E340
secondary
#453097
accent
#37F15C
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C2E340

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

Preview Lab → · Contrast checker → · Palette generator →

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