#C2EC4F#C2EC4F

#C2EC4F is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.4% C 0.185 H 123.1°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#C2EC4F
RGBrgb(194, 236, 79)
HSLhsl(76, 81%, 62%)
HSVhsv(76, 67%, 93%)
CMYKcmyk(17.8%, 0%, 66.5%, 7.5%)
CIE-LABlab(87.98, -34.96, 68.56)
CIE-LCHlch(87.98, 76.96, 117.02°)
OKLaboklab(88.44% -0.1013 0.155)
OKLCHoklch(88.44% 0.185 123.1)
XYZxyz(53.6554, 72.0245, 18.4710)
Luminance0.7202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2EC4F #794FEC
analogous
#ECC84F #C2EC4F #74EC4F
triadic
#C2EC4F #4FC2EC #EC4FC2
tetradic
#C2EC4F #4FECC8 #794FEC #EC4F74
square
#C2EC4F #4FECC8 #794FEC #EC4F74
split-complementary
#C2EC4F #4F74EC #C84FEC
monochromatic
#84AE13 #AEE519 #C2EC4F #D5F286 #E8F8BD

Accessibility & contrast

On white

1.36
#C2EC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#C2EC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2EC4F
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2EC4F#FFFFFF#000000##000000
##C2EC4F1.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE38
Deuteranopia (green-blind)
#F4DC5B
Tritanopia (blue-blind)
#CBE1CC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c2ec4f;
/* rgb */ color: rgb(194, 236, 79);
/* oklch */ color: oklch(88.4% 0.185 123.1);
Tailwind
colors: {
  custom: {
    50: '#d8f288',
    500: '#c2ec4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ec4f;
$custom-light: #d8f288;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ec4f",
  "rgb": {
    "r": 194,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 76.051,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88444,
    "c": 0.18518,
    "h": 123.1
  },
  "luminance": 0.72025
}

Semantic roles & 50–950 ramp

primary
#C2EC4F
secondary
#5231AE
accent
#09DD41
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C2EC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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