#C2F879#C2F879

#C2F879 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.6% C 0.166 H 128.4°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#C2F879
RGBrgb(194, 248, 121)
HSLhsl(86, 90%, 72%)
HSVhsv(86, 51%, 97%)
CMYKcmyk(21.8%, 0%, 51.2%, 2.7%)
CIE-LABlab(91.68, -36.96, 54.93)
CIE-LCHlch(91.68, 66.21, 123.94°)
OKLaboklab(91.55% -0.1033 0.1305)
OKLCHoklch(91.55% 0.166 128.4)
XYZxyz(59.2663, 79.9836, 30.4014)
Luminance0.7998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F879 #AF79F8
analogous
#F8EF79 #C2F879 #82F879
triadic
#C2F879 #79C2F8 #F879C2
tetradic
#C2F879 #79F8EF #AF79F8 #F87982
square
#C2F879 #79F8EF #AF79F8 #F87982
split-complementary
#C2F879 #7982F8 #EF79F8
monochromatic
#8CEA0C #A8F53F #C2F879 #DCFBB3 #F2FDE2

Accessibility & contrast

On white

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

On black

17.00
#C2F879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F879
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F879#FFFFFF#000000##000000
##C2F8791.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2f879;
/* rgb */ color: rgb(194, 248, 121);
/* oklch */ color: oklch(91.6% 0.166 128.4);
Tailwind
colors: {
  custom: {
    50: '#d7faa3',
    500: '#c2f879',
    950: '#000000',
  },
}
SCSS
$custom: #c2f879;
$custom-light: #d7faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f879",
  "rgb": {
    "r": 194,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 85.512,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91551,
    "c": 0.16638,
    "h": 128.4
  },
  "luminance": 0.79985
}

Semantic roles & 50–950 ramp

primary
#C2F879
secondary
#8041D4
accent
#00E662
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C2F879

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

Preview Lab → · Contrast checker → · Palette generator →

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