#C2E740#C2E740

#C2E740 is a very light, vivid yellow-green. Relative luminance 0.690; OKLCH L 87.2% C 0.189 H 121.5°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#C2E740
RGBrgb(194, 231, 64)
HSLhsl(73, 78%, 58%)
HSVhsv(73, 72%, 91%)
CMYKcmyk(16%, 0%, 72.3%, 9.4%)
CIE-LABlab(86.50, -33.53, 72.43)
CIE-LCHlch(86.50, 79.81, 114.84°)
OKLaboklab(87.22% -0.0986 0.1609)
OKLCHoklch(87.22% 0.189 121.5)
XYZxyz(51.7503, 68.9913, 15.4398)
Luminance0.6899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E740 #6540E7
analogous
#E7B840 #C2E740 #6FE740
triadic
#C2E740 #40C2E7 #E740C2
tetradic
#C2E740 #40E7B8 #6540E7 #E7406F
square
#C2E740 #40E7B8 #6540E7 #E7406F
split-complementary
#C2E740 #406FE7 #B840E7
monochromatic
#7C9913 #A7D01A #C2E740 #D3EE76 #E5F5AD

Accessibility & contrast

On white

1.42
#C2E740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#C2E740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E740
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E740#FFFFFF#000000##000000
##C2E7401.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D91F
Deuteranopia (green-blind)
#F0D94F
Tritanopia (blue-blind)
#CCDBC7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #c2e740;
/* rgb */ color: rgb(194, 231, 64);
/* oklch */ color: oklch(87.2% 0.189 121.5);
Tailwind
colors: {
  custom: {
    50: '#d8ee80',
    500: '#c2e740',
    950: '#000000',
  },
}
SCSS
$custom: #c2e740;
$custom-light: #d8ee80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e740",
  "rgb": {
    "r": 194,
    "g": 231,
    "b": 64
  },
  "hsl": {
    "h": 73.293,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.87218,
    "c": 0.18871,
    "h": 121.5
  },
  "luminance": 0.68991
}

Semantic roles & 50–950 ramp

primary
#C2E740
secondary
#472E9D
accent
#34F45E
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#15160B
muted
#84857E

Preview Lab

Preview with #C2E740

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

Preview Lab → · Contrast checker → · Palette generator →

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