#C2EC5C#C2EC5C

#C2EC5C is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.6% C 0.176 H 123.8°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#C2EC5C
RGBrgb(194, 236, 92)
HSLhsl(78, 79%, 64%)
HSVhsv(78, 61%, 93%)
CMYKcmyk(17.8%, 0%, 61%, 7.5%)
CIE-LABlab(88.08, -34.06, 63.51)
CIE-LCHlch(88.08, 72.07, 118.20°)
OKLaboklab(88.56% -0.0976 0.1461)
OKLCHoklch(88.56% 0.176 123.8)
XYZxyz(54.1757, 72.2326, 21.2113)
Luminance0.7223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2EC5C #865CEC
analogous
#ECCE5C #C2EC5C #7AEC5C
triadic
#C2EC5C #5CC2EC #EC5CC2
tetradic
#C2EC5C #5CECCE #865CEC #EC5C7A
square
#C2EC5C #5CECCE #865CEC #EC5C7A
split-complementary
#C2EC5C #5C7AEC #CE5CEC
monochromatic
#89B815 #ADE625 #C2EC5C #D7F293 #EBF9CA

Accessibility & contrast

On white

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

On black

15.45
#C2EC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2EC5C
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2EC5C#FFFFFF#000000##000000
##C2EC5C1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE4B
Deuteranopia (green-blind)
#F3DD66
Tritanopia (blue-blind)
#CAE1CE
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c2ec5c;
/* rgb */ color: rgb(194, 236, 92);
/* oklch */ color: oklch(88.6% 0.176 123.8);
Tailwind
colors: {
  custom: {
    50: '#d7f290',
    500: '#c2ec5c',
    950: '#000000',
  },
}
SCSS
$custom: #c2ec5c;
$custom-light: #d7f290;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ec5c",
  "rgb": {
    "r": 194,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 77.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.88556,
    "c": 0.17569,
    "h": 123.8
  },
  "luminance": 0.72233
}

Semantic roles & 50–950 ramp

primary
#C2EC5C
secondary
#5B35B8
accent
#0ADB47
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C2EC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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