#C7F87F#C7F87F

#C7F87F is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 91.9% C 0.159 H 127.4°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#C7F87F
RGBrgb(199, 248, 127)
HSLhsl(84, 90%, 74%)
HSVhsv(84, 49%, 97%)
CMYKcmyk(19.8%, 0%, 48.8%, 2.7%)
CIE-LABlab(92.05, -34.54, 52.68)
CIE-LCHlch(92.05, 63.00, 123.26°)
OKLaboklab(91.95% -0.0963 0.1259)
OKLCHoklch(91.95% 0.159 127.4)
XYZxyz(60.9510, 80.8084, 32.4610)
Luminance0.8081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F87F #B07FF8
analogous
#F8ED7F #C7F87F #8AF87F
triadic
#C7F87F #7FC7F8 #F87FC7
tetradic
#C7F87F #7FF8ED #B07FF8 #F87F8A
square
#C7F87F #7FF8ED #B07FF8 #F87F8A
split-complementary
#C7F87F #7F8AF8 #ED7FF8
monochromatic
#94F00D #AEF545 #C7F87F #E0FBB9 #F2FDE2

Accessibility & contrast

On white

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

On black

17.16
#C7F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F87F
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F87F#FFFFFF#000000##000000
##C7F87F1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FCE786
Tritanopia (blue-blind)
#CCEFDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c7f87f;
/* rgb */ color: rgb(199, 248, 127);
/* oklch */ color: oklch(91.9% 0.159 127.4);
Tailwind
colors: {
  custom: {
    50: '#dafaa6',
    500: '#c7f87f',
    950: '#000000',
  },
}
SCSS
$custom: #c7f87f;
$custom-light: #dafaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f87f",
  "rgb": {
    "r": 199,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 84.298,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91948,
    "c": 0.15851,
    "h": 127.4
  },
  "luminance": 0.80809
}

Semantic roles & 50–950 ramp

primary
#C7F87F
secondary
#8046D5
accent
#00E65D
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #C7F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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