#C2EA40#C2EA40

#C2EA40 is a very light, vivid yellow-green. Relative luminance 0.707; OKLCH L 87.9% C 0.192 H 122.2°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#C2EA40
RGBrgb(194, 234, 64)
HSLhsl(74, 80%, 58%)
HSVhsv(74, 73%, 92%)
CMYKcmyk(17.1%, 0%, 72.6%, 8.2%)
CIE-LABlab(87.33, -34.90, 73.23)
CIE-LCHlch(87.33, 81.12, 115.48°)
OKLaboklab(87.89% -0.1023 0.1626)
OKLCHoklch(87.89% 0.192 122.2)
XYZxyz(52.5971, 70.6850, 15.7221)
Luminance0.7068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2EA40 #6840EA
analogous
#EABD40 #C2EA40 #6DEA40
triadic
#C2EA40 #40C2EA #EA40C2
tetradic
#C2EA40 #40EABD #6840EA #EA406D
square
#C2EA40 #40EABD #6840EA #EA406D
split-complementary
#C2EA40 #406DEA #BD40EA
monochromatic
#7D9E11 #A9D517 #C2EA40 #D4F077 #E5F6AE

Accessibility & contrast

On white

1.39
#C2EA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#C2EA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2EA40
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2EA40#FFFFFF#000000##000000
##C2EA401.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DC1D
Deuteranopia (green-blind)
#F3DB4F
Tritanopia (blue-blind)
#CCDEC9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c2ea40;
/* rgb */ color: rgb(194, 234, 64);
/* oklch */ color: oklch(87.9% 0.192 122.2);
Tailwind
colors: {
  custom: {
    50: '#d8f080',
    500: '#c2ea40',
    950: '#000000',
  },
}
SCSS
$custom: #c2ea40;
$custom-light: #d8f080;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ea40",
  "rgb": {
    "r": 194,
    "g": 234,
    "b": 64
  },
  "hsl": {
    "h": 74.118,
    "s": 80.189,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8789,
    "c": 0.19214,
    "h": 122.2
  },
  "luminance": 0.70685
}

Semantic roles & 50–950 ramp

primary
#C2EA40
secondary
#482DA1
accent
#31F760
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#15160B
muted
#84857E

Preview Lab

Preview with #C2EA40

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

Preview Lab → · Contrast checker → · Palette generator →

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