#C2F979#C2F979

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

Color values

HEX#C2F979
RGBrgb(194, 249, 121)
HSLhsl(86, 91%, 73%)
HSVhsv(86, 51%, 98%)
CMYKcmyk(22.1%, 0%, 51.4%, 2.4%)
CIE-LABlab(91.95, -37.41, 55.26)
CIE-LCHlch(91.95, 66.73, 124.10°)
OKLaboklab(91.77% -0.1045 0.1312)
OKLCHoklch(91.77% 0.168 128.5)
XYZxyz(59.5746, 80.6001, 30.5041)
Luminance0.8060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F979 #B079F9
analogous
#F9F079 #C2F979 #82F979
triadic
#C2F979 #79C2F9 #F979C2
tetradic
#C2F979 #79F9F0 #B079F9 #F97982
square
#C2F979 #79F9F0 #B079F9 #F97982
split-complementary
#C2F979 #7982F9 #F079F9
monochromatic
#8CED0B #A7F63E #C2F979 #DDFCB4 #F2FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2F979#FFFFFF#000000##000000
##C2F9791.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)
#FFEA6D
Deuteranopia (green-blind)
#FCE781
Tritanopia (blue-blind)
#C7F0DC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c2f979;
/* rgb */ color: rgb(194, 249, 121);
/* oklch */ color: oklch(91.8% 0.168 128.5);
Tailwind
colors: {
  custom: {
    50: '#d7fba3',
    500: '#c2f979',
    950: '#000000',
  },
}
SCSS
$custom: #c2f979;
$custom-light: #d7fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f979",
  "rgb": {
    "r": 194,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 85.781,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91774,
    "c": 0.16771,
    "h": 128.5
  },
  "luminance": 0.80601
}

Semantic roles & 50–950 ramp

primary
#C2F979
secondary
#8141D5
accent
#00E663
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C2F979

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

Preview Lab → · Contrast checker → · Palette generator →

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