#7EB172#7EB172

#7EB172 is a light, moderate green. Relative luminance 0.371; OKLCH L 70.8% C 0.104 H 139.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7EB172
RGBrgb(126, 177, 114)
HSLhsl(109, 29%, 57%)
HSVhsv(109, 36%, 69%)
CMYKcmyk(28.8%, 0%, 35.6%, 30.6%)
CIE-LABlab(67.35, -29.11, 27.00)
CIE-LCHlch(67.35, 39.70, 137.15°)
OKLaboklab(70.83% -0.0794 0.0673)
OKLCHoklch(70.83% 0.104 139.7)
XYZxyz(27.3627, 37.0938, 21.6344)
Luminance0.3710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB172 #A572B1
analogous
#9EB172 #7EB172 #72B186
triadic
#7EB172 #727EB1 #B1727E
tetradic
#7EB172 #729EB1 #A572B1 #B18672
square
#7EB172 #729EB1 #A572B1 #B18672
split-complementary
#7EB172 #8672B1 #B1729E
monochromatic
#456D3C #5E9452 #7EB172 #A2C799 #C6DDC1

Accessibility & contrast

On white

2.49
#7EB172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#7EB172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB172
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB172#FFFFFF#000000##000000
##7EB1721.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A76E
Deuteranopia (green-blind)
#ADA275
Tritanopia (blue-blind)
#7BADA1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb172;
/* rgb */ color: rgb(126, 177, 114);
/* oklch */ color: oklch(70.8% 0.104 139.7);
Tailwind
colors: {
  custom: {
    50: '#a5c89b',
    500: '#7eb172',
    950: '#000000',
  },
}
SCSS
$custom: #7eb172;
$custom-light: #a5c89b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb172",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 114
  },
  "hsl": {
    "h": 108.571,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.70832,
    "c": 0.10409,
    "h": 139.7
  },
  "luminance": 0.37095
}

Semantic roles & 50–950 ramp

primary
#7EB172
secondary
#C7B3CC
accent
#63C5B2
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#0F130E
muted
#7F827E

Preview Lab

Preview with #7EB172

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

Preview Lab → · Contrast checker → · Palette generator →

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