#C2F178#C2F178

#C2F178 is a very light, vivid yellow-green. Relative luminance 0.757; OKLCH L 90.0% C 0.158 H 126.9°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#C2F178
RGBrgb(194, 241, 120)
HSLhsl(83, 81%, 71%)
HSVhsv(83, 50%, 95%)
CMYKcmyk(19.5%, 0%, 50.2%, 5.5%)
CIE-LABlab(89.74, -33.88, 53.07)
CIE-LCHlch(89.74, 62.96, 122.56°)
OKLaboklab(89.98% -0.0947 0.1263)
OKLCHoklch(89.98% 0.158 126.9)
XYZxyz(57.0934, 75.7353, 29.3761)
Luminance0.7574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F178 #A778F1
analogous
#F1E478 #C2F178 #85F178
triadic
#C2F178 #78C2F1 #F178C2
tetradic
#C2F178 #78F1E4 #A778F1 #F17885
square
#C2F178 #78F1E4 #A778F1 #F17885
split-complementary
#C2F178 #7885F1 #E478F1
monochromatic
#8DD816 #A9EB41 #C2F178 #DBF7AF #F2FCE3

Accessibility & contrast

On white

1.30
#C2F178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#C2F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F178
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F178#FFFFFF#000000##000000
##C2F1781.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46D
Deuteranopia (green-blind)
#F5E17F
Tritanopia (blue-blind)
#C8E8D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c2f178;
/* rgb */ color: rgb(194, 241, 120);
/* oklch */ color: oklch(90.0% 0.158 126.9);
Tailwind
colors: {
  custom: {
    50: '#d6f5a2',
    500: '#c2f178',
    950: '#000000',
  },
}
SCSS
$custom: #c2f178;
$custom-light: #d6f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f178",
  "rgb": {
    "r": 194,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 83.306,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89981,
    "c": 0.15789,
    "h": 126.9
  },
  "luminance": 0.75736
}

Semantic roles & 50–950 ramp

primary
#C2F178
secondary
#7742CB
accent
#08DE5B
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C2F178

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

Preview Lab → · Contrast checker → · Palette generator →

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