#C7F96C#C7F96C

#C7F96C is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 91.9% C 0.177 H 126.0°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#C7F96C
RGBrgb(199, 249, 108)
HSLhsl(81, 92%, 70%)
HSVhsv(81, 57%, 98%)
CMYKcmyk(20.1%, 0%, 56.6%, 2.4%)
CIE-LABlab(92.12, -36.80, 61.32)
CIE-LCHlch(92.12, 71.51, 120.97°)
OKLaboklab(91.94% -0.1041 0.1431)
OKLCHoklch(91.94% 0.177 126)
XYZxyz(60.1357, 80.9754, 26.6461)
Luminance0.8098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F96C #9E6CF9
analogous
#F9E56C #C7F96C #80F96C
triadic
#C7F96C #6CC7F9 #F96CC7
tetradic
#C7F96C #6CF9E5 #9E6CF9 #F96C80
square
#C7F96C #6CF9E5 #9E6CF9 #F96C80
split-complementary
#C7F96C #6C80F9 #E56CF9
monochromatic
#95E109 #B1F731 #C7F96C #DDFBA7 #F4FEE2

Accessibility & contrast

On white

1.22
#C7F96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#C7F96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F96C
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F96C#FFFFFF#000000##000000
##C7F96C1.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5D
Deuteranopia (green-blind)
#FEE875
Tritanopia (blue-blind)
#CEEFDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c7f96c;
/* rgb */ color: rgb(199, 249, 108);
/* oklch */ color: oklch(91.9% 0.177 126.0);
Tailwind
colors: {
  custom: {
    50: '#dbfb9a',
    500: '#c7f96c',
    950: '#000000',
  },
}
SCSS
$custom: #c7f96c;
$custom-light: #dbfb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f96c",
  "rgb": {
    "r": 199,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 81.277,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.91943,
    "c": 0.17694,
    "h": 126
  },
  "luminance": 0.80976
}

Semantic roles & 50–950 ramp

primary
#C7F96C
secondary
#6E36D4
accent
#00E651
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C7F96C

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

Preview Lab → · Contrast checker → · Palette generator →

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