#C2E478#C2E478

#C2E478 is a very light, vivid yellow-green. Relative luminance 0.683; OKLCH L 87.1% C 0.140 H 123.7°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#C2E478
RGBrgb(194, 228, 120)
HSLhsl(79, 67%, 68%)
HSVhsv(79, 47%, 89%)
CMYKcmyk(14.9%, 0%, 47.4%, 10.6%)
CIE-LABlab(86.16, -27.83, 48.75)
CIE-LCHlch(86.16, 56.13, 119.72°)
OKLaboklab(87.1% -0.0778 0.1168)
OKLCHoklch(87.1% 0.14 123.7)
XYZxyz(53.3817, 68.3120, 28.1389)
Luminance0.6831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E478 #9A78E4
analogous
#E4D078 #C2E478 #8CE478
triadic
#C2E478 #78C2E4 #E478C2
tetradic
#C2E478 #78E4D0 #9A78E4 #E4788C
square
#C2E478 #78E4D0 #9A78E4 #E4788C
split-complementary
#C2E478 #788CE4 #D078E4
monochromatic
#8DBC26 #ABDA45 #C2E478 #D9EEAB #F0F8DE

Accessibility & contrast

On white

1.43
#C2E478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#C2E478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E478
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E478#FFFFFF#000000##000000
##C2E4781.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96F
Deuteranopia (green-blind)
#EAD77E
Tritanopia (blue-blind)
#C9DBCB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #c2e478;
/* rgb */ color: rgb(194, 228, 120);
/* oklch */ color: oklch(87.1% 0.140 123.7);
Tailwind
colors: {
  custom: {
    50: '#d6eca1',
    500: '#c2e478',
    950: '#000000',
  },
}
SCSS
$custom: #c2e478;
$custom-light: #d6eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e478",
  "rgb": {
    "r": 194,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 78.889,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87104,
    "c": 0.14032,
    "h": 123.7
  },
  "luminance": 0.68312
}

Semantic roles & 50–950 ramp

primary
#C2E478
secondary
#6A45BB
accent
#17CF51
background
#FEFEFC
surface
#FBFDF5
border
#D4D5CF
text
#14160F
muted
#838480

Preview Lab

Preview with #C2E478

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

Preview Lab → · Contrast checker → · Palette generator →

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