#C2F878#C2F878

#C2F878 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.5% C 0.167 H 128.3°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#C2F878
RGBrgb(194, 248, 120)
HSLhsl(85, 90%, 72%)
HSVhsv(85, 52%, 97%)
CMYKcmyk(21.8%, 0%, 51.6%, 2.7%)
CIE-LABlab(91.67, -37.06, 55.37)
CIE-LCHlch(91.67, 66.63, 123.80°)
OKLaboklab(91.54% -0.1036 0.1314)
OKLCHoklch(91.54% 0.167 128.3)
XYZxyz(59.2053, 79.9592, 30.0801)
Luminance0.7996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F878 #AE78F8
analogous
#F8EE78 #C2F878 #82F878
triadic
#C2F878 #78C2F8 #F878C2
tetradic
#C2F878 #78F8EE #AE78F8 #F87882
square
#C2F878 #78F8EE #AE78F8 #F87882
split-complementary
#C2F878 #7882F8 #EE78F8
monochromatic
#8CE90C #A8F53E #C2F878 #DCFBB2 #F2FDE2

Accessibility & contrast

On white

1.24
#C2F878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#C2F878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F878
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F878#FFFFFF#000000##000000
##C2F8781.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#FBE680
Tritanopia (blue-blind)
#C7EFDB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c2f878;
/* rgb */ color: rgb(194, 248, 120);
/* oklch */ color: oklch(91.5% 0.167 128.3);
Tailwind
colors: {
  custom: {
    50: '#d7faa2',
    500: '#c2f878',
    950: '#000000',
  },
}
SCSS
$custom: #c2f878;
$custom-light: #d7faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f878",
  "rgb": {
    "r": 194,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 85.313,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91538,
    "c": 0.1673,
    "h": 128.3
  },
  "luminance": 0.7996
}

Semantic roles & 50–950 ramp

primary
#C2F878
secondary
#7F40D4
accent
#00E661
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C2F878

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

Preview Lab → · Contrast checker → · Palette generator →

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