#C7F87C#C7F87C

#C7F87C is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 91.9% C 0.161 H 127.1°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#C7F87C
RGBrgb(199, 248, 124)
HSLhsl(84, 90%, 73%)
HSVhsv(84, 50%, 97%)
CMYKcmyk(19.8%, 0%, 50%, 2.7%)
CIE-LABlab(92.01, -34.85, 54.03)
CIE-LCHlch(92.01, 64.29, 122.83°)
OKLaboklab(91.91% -0.0974 0.1286)
OKLCHoklch(91.91% 0.161 127.1)
XYZxyz(60.7584, 80.7313, 31.4466)
Luminance0.8073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F87C #AD7CF8
analogous
#F8EB7C #C7F87C #89F87C
triadic
#C7F87C #7CC7F8 #F87CC7
tetradic
#C7F87C #7CF8EB #AD7CF8 #F87C89
square
#C7F87C #7CF8EB #AD7CF8 #F87C89
split-complementary
#C7F87C #7C89F8 #EB7CF8
monochromatic
#94ED0D #AEF542 #C7F87C #E0FBB6 #F3FDE2

Accessibility & contrast

On white

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

On black

17.15
#C7F87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F87C
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F87C#FFFFFF#000000##000000
##C7F87C1.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA71
Deuteranopia (green-blind)
#FCE783
Tritanopia (blue-blind)
#CDEEDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c7f87c;
/* rgb */ color: rgb(199, 248, 124);
/* oklch */ color: oklch(91.9% 0.161 127.1);
Tailwind
colors: {
  custom: {
    50: '#dafaa5',
    500: '#c7f87c',
    950: '#000000',
  },
}
SCSS
$custom: #c7f87c;
$custom-light: #dafaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f87c",
  "rgb": {
    "r": 199,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 83.71,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91909,
    "c": 0.16136,
    "h": 127.1
  },
  "luminance": 0.80732
}

Semantic roles & 50–950 ramp

primary
#C7F87C
secondary
#7D44D4
accent
#00E65B
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C7F87C

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

Preview Lab → · Contrast checker → · Palette generator →

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