#7EC987#7EC987

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

Color values

HEX#7EC987
RGBrgb(126, 201, 135)
HSLhsl(127, 41%, 64%)
HSVhsv(127, 37%, 79%)
CMYKcmyk(37.3%, 0%, 32.8%, 21.2%)
CIE-LABlab(74.80, -36.91, 25.84)
CIE-LCHlch(74.80, 45.06, 145.00°)
OKLaboklab(76.98% -0.1006 0.065)
OKLCHoklch(76.98% 0.12 147.2)
XYZxyz(33.8623, 47.9563, 30.3892)
Luminance0.4796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC987 #C97EC0
analogous
#9BC97E #7EC987 #7EC9AD
triadic
#7EC987 #877EC9 #C9877E
tetradic
#7EC987 #7E9BC9 #C97EC0 #C9AD7E
square
#7EC987 #7E9BC9 #C97EC0 #C9AD7E
split-complementary
#7EC987 #AD7EC9 #C97E9B
monochromatic
#3C9046 #53B75F #7EC987 #A9DBAF #D4EDD7

Accessibility & contrast

On white

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

On black

10.59
#7EC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC987
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC987#FFFFFF#000000##000000
##7EC9871.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ec987;
/* rgb */ color: rgb(126, 201, 135);
/* oklch */ color: oklch(77.0% 0.120 147.2);
Tailwind
colors: {
  custom: {
    50: '#a6daaa',
    500: '#7ec987',
    950: '#000000',
  },
}
SCSS
$custom: #7ec987;
$custom-light: #a6daaa;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec987",
  "rgb": {
    "r": 126,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 127.2,
    "s": 40.984,
    "l": 64.118
  },
  "oklch": {
    "l": 0.76981,
    "c": 0.11979,
    "h": 147.2
  },
  "luminance": 0.47958
}

Semantic roles & 50–950 ramp

primary
#7EC987
secondary
#DEC4DB
accent
#31A4B4
background
#FAFDFA
surface
#F4FAF4
border
#CED3CE
text
#101510
muted
#7F837F

Preview Lab

Preview with #7EC987

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

Preview Lab → · Contrast checker → · Palette generator →

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