#7FC987#7FC987

#7FC987 is a light, moderate green. Relative luminance 0.480; OKLCH L 77.0% C 0.119 H 146.9°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#7FC987
RGBrgb(127, 201, 135)
HSLhsl(126, 41%, 64%)
HSVhsv(126, 37%, 79%)
CMYKcmyk(36.8%, 0%, 32.8%, 21.2%)
CIE-LABlab(74.85, -36.60, 25.92)
CIE-LCHlch(74.85, 44.85, 144.70°)
OKLaboklab(77.03% -0.0998 0.0651)
OKLCHoklch(77.03% 0.119 146.9)
XYZxyz(34.0105, 48.0327, 30.3961)
Luminance0.4803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC987 #C97FC1
analogous
#9CC97F #7FC987 #7FC9AC
triadic
#7FC987 #877FC9 #C9877F
tetradic
#7FC987 #7F9CC9 #C97FC1 #C9AC7F
square
#7FC987 #7F9CC9 #C97FC1 #C9AC7F
split-complementary
#7FC987 #AC7FC9 #C97F9C
monochromatic
#3D9146 #54B75F #7FC987 #AADBAF #D5EDD8

Accessibility & contrast

On white

1.98
#7FC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#7FC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC987
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC987#FFFFFF#000000##000000
##7FC9871.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBD83
Deuteranopia (green-blind)
#C0B58B
Tritanopia (blue-blind)
#75C6B8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7fc987;
/* rgb */ color: rgb(127, 201, 135);
/* oklch */ color: oklch(77.0% 0.119 146.9);
Tailwind
colors: {
  custom: {
    50: '#a7daaa',
    500: '#7fc987',
    950: '#000000',
  },
}
SCSS
$custom: #7fc987;
$custom-light: #a7daaa;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc987",
  "rgb": {
    "r": 127,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 126.486,
    "s": 40.659,
    "l": 64.314
  },
  "oklch": {
    "l": 0.77033,
    "c": 0.11918,
    "h": 146.9
  },
  "luminance": 0.48035
}

Semantic roles & 50–950 ramp

primary
#7FC987
secondary
#DFC5DC
accent
#32A6B4
background
#FAFDFA
surface
#F4FAF4
border
#CED3CE
text
#101510
muted
#7F837F

Preview Lab

Preview with #7FC987

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

Preview Lab → · Contrast checker → · Palette generator →

#7FC987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva