#7EA271#7EA271

#7EA271 is a light, moderate green. Relative luminance 0.315; OKLCH L 67.2% C 0.081 H 137.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7EA271
RGBrgb(126, 162, 113)
HSLhsl(104, 21%, 54%)
HSVhsv(104, 30%, 64%)
CMYKcmyk(22.2%, 0%, 30.2%, 36.5%)
CIE-LABlab(62.90, -21.86, 21.59)
CIE-LCHlch(62.90, 30.72, 135.36°)
OKLaboklab(67.24% -0.0595 0.0544)
OKLCHoklch(67.24% 0.081 137.6)
XYZxyz(24.5044, 31.4679, 20.4024)
Luminance0.3147 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA271 #9571A2
analogous
#97A271 #7EA271 #71A27D
triadic
#7EA271 #717EA2 #A2717E
tetradic
#7EA271 #7197A2 #9571A2 #A27D71
square
#7EA271 #7197A2 #9571A2 #A27D71
split-complementary
#7EA271 #7D71A2 #A27197
monochromatic
#455C3C #608155 #7EA271 #A0BA96 #C1D2BB

Accessibility & contrast

On white

2.88
#7EA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#7EA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA271
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA271#FFFFFF#000000##000000
##7EA2711.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59A6E
Deuteranopia (green-blind)
#A09774
Tritanopia (blue-blind)
#7D9F95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea271;
/* rgb */ color: rgb(126, 162, 113);
/* oklch */ color: oklch(67.2% 0.081 137.6);
Tailwind
colors: {
  custom: {
    50: '#a4bd9a',
    500: '#7ea271',
    950: '#000000',
  },
}
SCSS
$custom: #7ea271;
$custom-light: #a4bd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea271",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 104.082,
    "s": 20.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.67244,
    "c": 0.0806,
    "h": 137.6
  },
  "luminance": 0.31469
}

Semantic roles & 50–950 ramp

primary
#7EA271
secondary
#BCADC2
accent
#6ABDA7
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#0F120E
muted
#7F817E

Preview Lab

Preview with #7EA271

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

Preview Lab → · Contrast checker → · Palette generator →

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