#C2F796#C2F796

#C2F796 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.7% C 0.136 H 131.9°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#C2F796
RGBrgb(194, 247, 150)
HSLhsl(93, 86%, 78%)
HSVhsv(93, 39%, 97%)
CMYKcmyk(21.5%, 0%, 39.3%, 3.1%)
CIE-LABlab(91.77, -33.21, 41.26)
CIE-LCHlch(91.77, 52.96, 128.83°)
OKLaboklab(91.75% -0.0911 0.1014)
OKLCHoklch(91.75% 0.136 131.9)
XYZxyz(61.0128, 80.1916, 41.1123)
Luminance0.8019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2F796 #CB96F7
analogous
#F2F796 #C2F796 #96F79B
triadic
#C2F796 #96C2F7 #F796C2
tetradic
#C2F796 #96F2F7 #CB96F7 #F79B96
square
#C2F796 #96F2F7 #CB96F7 #F79B96
split-complementary
#C2F796 #9B96F7 #F796F2
monochromatic
#80EE24 #A1F35D #C2F796 #E3FBCF #EEFDE3

Accessibility & contrast

On white

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

On black

17.04
#C2F796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2F796
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2F796#FFFFFF#000000##000000
##C2F7961.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2f796;
/* rgb */ color: rgb(194, 247, 150);
/* oklch */ color: oklch(91.7% 0.136 131.9);
Tailwind
colors: {
  custom: {
    50: '#d6fab6',
    500: '#c2f796',
    950: '#000000',
  },
}
SCSS
$custom: #c2f796;
$custom-light: #d6fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c2f796",
  "rgb": {
    "r": 194,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 92.784,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.91746,
    "c": 0.13629,
    "h": 131.9
  },
  "luminance": 0.80193
}

Semantic roles & 50–950 ramp

primary
#C2F796
secondary
#9E5BD6
accent
#03E27D
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #C2F796

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

Preview Lab → · Contrast checker → · Palette generator →

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