#C2F278#C2F278

#C2F278 is a very light, vivid yellow-green. Relative luminance 0.763; OKLCH L 90.2% C 0.159 H 127.1°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#C2F278
RGBrgb(194, 242, 120)
HSLhsl(84, 82%, 71%)
HSVhsv(84, 50%, 95%)
CMYKcmyk(19.8%, 0%, 50.4%, 5.1%)
CIE-LABlab(90.01, -34.34, 53.40)
CIE-LCHlch(90.01, 63.49, 122.74°)
OKLaboklab(90.2% -0.096 0.127)
OKLCHoklch(90.2% 0.159 127.1)
XYZxyz(57.3902, 76.3289, 29.4750)
Luminance0.7633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F278 #A878F2
analogous
#F2E578 #C2F278 #85F278
triadic
#C2F278 #78C2F2 #F278C2
tetradic
#C2F278 #78F2E5 #A878F2 #F27885
square
#C2F278 #78F2E5 #A878F2 #F27885
split-complementary
#C2F278 #7885F2 #E578F2
monochromatic
#8DDB15 #A9ED40 #C2F278 #DBF7B0 #F2FCE3

Accessibility & contrast

On white

1.29
#C2F278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#C2F278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F278
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F278#FFFFFF#000000##000000
##C2F2781.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46D
Deuteranopia (green-blind)
#F6E27F
Tritanopia (blue-blind)
#C8E9D6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c2f278;
/* rgb */ color: rgb(194, 242, 120);
/* oklch */ color: oklch(90.2% 0.159 127.1);
Tailwind
colors: {
  custom: {
    50: '#d7f6a2',
    500: '#c2f278',
    950: '#000000',
  },
}
SCSS
$custom: #c2f278;
$custom-light: #d7f6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f278",
  "rgb": {
    "r": 194,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 83.607,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90203,
    "c": 0.15924,
    "h": 127.1
  },
  "luminance": 0.7633
}

Semantic roles & 50–950 ramp

primary
#C2F278
secondary
#7842CC
accent
#07DF5C
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C2F278

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

Preview Lab → · Contrast checker → · Palette generator →

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