#C2F797#C2F797

#C2F797 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.8% C 0.135 H 132.1°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#C2F797
RGBrgb(194, 247, 151)
HSLhsl(93, 86%, 78%)
HSVhsv(93, 39%, 97%)
CMYKcmyk(21.5%, 0%, 38.9%, 3.1%)
CIE-LABlab(91.79, -33.08, 40.78)
CIE-LCHlch(91.79, 52.51, 129.05°)
OKLaboklab(91.76% -0.0907 0.1003)
OKLCHoklch(91.76% 0.135 132.1)
XYZxyz(61.0937, 80.2239, 41.5382)
Luminance0.8023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F797 #CC97F7
analogous
#F2F797 #C2F797 #97F79C
triadic
#C2F797 #97C2F7 #F797C2
tetradic
#C2F797 #97F2F7 #CC97F7 #F79C97
square
#C2F797 #97F2F7 #CC97F7 #F79C97
split-complementary
#C2F797 #9C97F7 #F797F2
monochromatic
#7FEE25 #A1F35E #C2F797 #E3FBD0 #EEFDE3

Accessibility & contrast

On white

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

On black

17.05
#C2F797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F797
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F797#FFFFFF#000000##000000
##C2F7971.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA90
Deuteranopia (green-blind)
#F7E69C
Tritanopia (blue-blind)
#C4F0DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #c2f797;
/* rgb */ color: rgb(194, 247, 151);
/* oklch */ color: oklch(91.8% 0.135 132.1);
Tailwind
colors: {
  custom: {
    50: '#d6fab6',
    500: '#c2f797',
    950: '#000000',
  },
}
SCSS
$custom: #c2f797;
$custom-light: #d6fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f797",
  "rgb": {
    "r": 194,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 93.125,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.91762,
    "c": 0.13523,
    "h": 132.1
  },
  "luminance": 0.80225
}

Semantic roles & 50–950 ramp

primary
#C2F797
secondary
#9F5CD6
accent
#03E27E
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #C2F797

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

Preview Lab → · Contrast checker → · Palette generator →

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