#7EC172#7EC172

#7EC172 is a light, vivid green. Relative luminance 0.438; OKLCH L 74.7% C 0.129 H 140.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7EC172
RGBrgb(126, 193, 114)
HSLhsl(111, 39%, 60%)
HSVhsv(111, 41%, 76%)
CMYKcmyk(34.7%, 0%, 40.9%, 24.3%)
CIE-LABlab(72.09, -36.59, 33.20)
CIE-LCHlch(72.09, 49.40, 137.78°)
OKLaboklab(74.67% -0.0999 0.0818)
OKLCHoklch(74.67% 0.129 140.7)
XYZxyz(30.7103, 43.7890, 22.7503)
Luminance0.4379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC172 #B572C1
analogous
#A5C172 #7EC172 #72C18D
triadic
#7EC172 #727EC1 #C1727E
tetradic
#7EC172 #72A5C1 #B572C1 #C18D72
square
#7EC172 #72A5C1 #B572C1 #C18D72
split-complementary
#7EC172 #8D72C1 #C172A5
monochromatic
#438038 #5AAB4B #7EC172 #A5D49D #CCE6C7

Accessibility & contrast

On white

2.15
#7EC172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#7EC172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC172
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC172#FFFFFF#000000##000000
##7EC1721.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B56C
Deuteranopia (green-blind)
#BBAE77
Tritanopia (blue-blind)
#79BCAE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7ec172;
/* rgb */ color: rgb(126, 193, 114);
/* oklch */ color: oklch(74.7% 0.129 140.7);
Tailwind
colors: {
  custom: {
    50: '#a6d49b',
    500: '#7ec172',
    950: '#000000',
  },
}
SCSS
$custom: #7ec172;
$custom-light: #a6d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec172",
  "rgb": {
    "r": 126,
    "g": 193,
    "b": 114
  },
  "hsl": {
    "h": 110.886,
    "s": 38.916,
    "l": 60.196
  },
  "oklch": {
    "l": 0.74669,
    "c": 0.12909,
    "h": 140.7
  },
  "luminance": 0.4379
}

Semantic roles & 50–950 ramp

primary
#7EC172
secondary
#D2B8D7
accent
#34B29F
background
#FAFDF9
surface
#F4FAF2
border
#CED3CC
text
#10140E
muted
#7F837E

Preview Lab

Preview with #7EC172

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

Preview Lab → · Contrast checker → · Palette generator →

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