#7EC271#7EC271

#7EC271 is a light, vivid green. Relative luminance 0.442; OKLCH L 74.9% C 0.132 H 140.5°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7EC271
RGBrgb(126, 194, 113)
HSLhsl(110, 40%, 60%)
HSVhsv(110, 42%, 76%)
CMYKcmyk(35.1%, 0%, 41.8%, 23.9%)
CIE-LABlab(72.37, -37.19, 34.07)
CIE-LCHlch(72.37, 50.44, 137.50°)
OKLaboklab(74.89% -0.1016 0.0838)
OKLCHoklch(74.89% 0.132 140.5)
XYZxyz(30.8755, 44.2100, 22.5261)
Luminance0.4421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC271 #B571C2
analogous
#A7C271 #7EC271 #71C28C
triadic
#7EC271 #717EC2 #C2717E
tetradic
#7EC271 #71A7C2 #B571C2 #C28C71
square
#7EC271 #71A7C2 #B571C2 #C28C71
split-complementary
#7EC271 #8C71C2 #C271A7
monochromatic
#438137 #5AAC4A #7EC271 #A5D49C #CCE7C7

Accessibility & contrast

On white

2.13
#7EC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#7EC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC271
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC271#FFFFFF#000000##000000
##7EC2711.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B56B
Deuteranopia (green-blind)
#BCAF76
Tritanopia (blue-blind)
#79BDAE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7ec271;
/* rgb */ color: rgb(126, 194, 113);
/* oklch */ color: oklch(74.9% 0.132 140.5);
Tailwind
colors: {
  custom: {
    50: '#a6d59b',
    500: '#7ec271',
    950: '#000000',
  },
}
SCSS
$custom: #7ec271;
$custom-light: #a6d59b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec271",
  "rgb": {
    "r": 126,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 110.37,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.74892,
    "c": 0.13164,
    "h": 140.5
  },
  "luminance": 0.44211
}

Semantic roles & 50–950 ramp

primary
#7EC271
secondary
#D2B8D7
accent
#33B39E
background
#FAFDF9
surface
#F4FAF2
border
#CED3CC
text
#10140E
muted
#7F837E

Preview Lab

Preview with #7EC271

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

Preview Lab → · Contrast checker → · Palette generator →

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