#C2E45C#C2E45C

#C2E45C is a very light, vivid yellow-green. Relative luminance 0.677; OKLCH L 86.8% C 0.166 H 121.8°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#C2E45C
RGBrgb(194, 228, 92)
HSLhsl(75, 72%, 63%)
HSVhsv(75, 60%, 89%)
CMYKcmyk(14.9%, 0%, 59.6%, 10.6%)
CIE-LABlab(85.87, -30.36, 61.08)
CIE-LCHlch(85.87, 68.21, 116.43°)
OKLaboklab(86.78% -0.0873 0.1409)
OKLCHoklch(86.78% 0.166 121.8)
XYZxyz(51.9238, 67.7288, 20.4607)
Luminance0.6773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E45C #7E5CE4
analogous
#E4C25C #C2E45C #7EE45C
triadic
#C2E45C #5CC2E4 #E45CC2
tetradic
#C2E45C #5CE4C2 #7E5CE4 #E45C7E
square
#C2E45C #5CE4C2 #7E5CE4 #E45C7E
split-complementary
#C2E45C #5C7EE4 #C25CE4
monochromatic
#86AA1C #AEDB27 #C2E45C #D6ED91 #E9F5C5

Accessibility & contrast

On white

1.44
#C2E45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#C2E45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E45C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E45C#FFFFFF#000000##000000
##C2E45C1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D74C
Deuteranopia (green-blind)
#ECD765
Tritanopia (blue-blind)
#CBD9C7
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #c2e45c;
/* rgb */ color: rgb(194, 228, 92);
/* oklch */ color: oklch(86.8% 0.166 121.8);
Tailwind
colors: {
  custom: {
    50: '#d7ec8f',
    500: '#c2e45c',
    950: '#000000',
  },
}
SCSS
$custom: #c2e45c;
$custom-light: #d7ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e45c",
  "rgb": {
    "r": 194,
    "g": 228,
    "b": 92
  },
  "hsl": {
    "h": 75,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86776,
    "c": 0.16579,
    "h": 121.8
  },
  "luminance": 0.67729
}

Semantic roles & 50–950 ramp

primary
#C2E45C
secondary
#5639AB
accent
#12D442
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C2E45C

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

Preview Lab → · Contrast checker → · Palette generator →

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