#C2F978#C2F978

#C2F978 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.8% C 0.169 H 128.5°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#C2F978
RGBrgb(194, 249, 120)
HSLhsl(86, 91%, 72%)
HSVhsv(86, 52%, 98%)
CMYKcmyk(22.1%, 0%, 51.8%, 2.4%)
CIE-LABlab(91.94, -37.51, 55.70)
CIE-LCHlch(91.94, 67.16, 123.96°)
OKLaboklab(91.76% -0.1049 0.1321)
OKLCHoklch(91.76% 0.169 128.5)
XYZxyz(59.5136, 80.5757, 30.1828)
Luminance0.8058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F978 #AF78F9
analogous
#F9EF78 #C2F978 #82F978
triadic
#C2F978 #78C2F9 #F978C2
tetradic
#C2F978 #78F9EF #AF78F9 #F97882
square
#C2F978 #78F9EF #AF78F9 #F97882
split-complementary
#C2F978 #7882F9 #EF78F9
monochromatic
#8CEC0A #A8F63D #C2F978 #DCFCB3 #F2FEE2

Accessibility & contrast

On white

1.23
#C2F978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#C2F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F978
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F978#FFFFFF#000000##000000
##C2F9781.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#C7EFDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c2f978;
/* rgb */ color: rgb(194, 249, 120);
/* oklch */ color: oklch(91.8% 0.169 128.5);
Tailwind
colors: {
  custom: {
    50: '#d7fba2',
    500: '#c2f978',
    950: '#000000',
  },
}
SCSS
$custom: #c2f978;
$custom-light: #d7fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f978",
  "rgb": {
    "r": 194,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 85.581,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91761,
    "c": 0.16863,
    "h": 128.5
  },
  "luminance": 0.80577
}

Semantic roles & 50–950 ramp

primary
#C2F978
secondary
#8040D5
accent
#00E662
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C2F978

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

Preview Lab → · Contrast checker → · Palette generator →

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