#7EA171#7EA171

#7EA171 is a light, moderate green. Relative luminance 0.311; OKLCH L 67.0% C 0.079 H 137.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7EA171
RGBrgb(126, 161, 113)
HSLhsl(104, 20%, 54%)
HSVhsv(104, 30%, 63%)
CMYKcmyk(21.7%, 0%, 29.8%, 36.9%)
CIE-LABlab(62.61, -21.35, 21.19)
CIE-LCHlch(62.61, 30.08, 135.22°)
OKLaboklab(67.01% -0.0581 0.0534)
OKLCHoklch(67.01% 0.079 137.4)
XYZxyz(24.3290, 31.1170, 20.3440)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA171 #9471A1
analogous
#96A171 #7EA171 #71A17C
triadic
#7EA171 #717EA1 #A1717E
tetradic
#7EA171 #7196A1 #9471A1 #A17C71
square
#7EA171 #7196A1 #9471A1 #A17C71
split-complementary
#7EA171 #7C71A1 #A17196
monochromatic
#455B3C #608055 #7EA171 #9FB996 #C1D2BB

Accessibility & contrast

On white

2.91
#7EA171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7EA171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA171
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA171#FFFFFF#000000##000000
##7EA1711.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4996E
Deuteranopia (green-blind)
#9F9673
Tritanopia (blue-blind)
#7D9E94
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea171;
/* rgb */ color: rgb(126, 161, 113);
/* oklch */ color: oklch(67.0% 0.079 137.4);
Tailwind
colors: {
  custom: {
    50: '#a4bd9a',
    500: '#7ea171',
    950: '#000000',
  },
}
SCSS
$custom: #7ea171;
$custom-light: #a4bd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea171",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 113
  },
  "hsl": {
    "h": 103.75,
    "s": 20.339,
    "l": 53.725
  },
  "oklch": {
    "l": 0.67008,
    "c": 0.07892,
    "h": 137.4
  },
  "luminance": 0.31118
}

Semantic roles & 50–950 ramp

primary
#7EA171
secondary
#BCADC1
accent
#6BBDA7
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#0F120E
muted
#7F817E

Preview Lab

Preview with #7EA171

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

Preview Lab → · Contrast checker → · Palette generator →

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