#7EB271#7EB271

#7EB271 is a light, moderate green. Relative luminance 0.375; OKLCH L 71.1% C 0.107 H 139.5°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7EB271
RGBrgb(126, 178, 113)
HSLhsl(108, 30%, 57%)
HSVhsv(108, 37%, 70%)
CMYKcmyk(29.2%, 0%, 36.5%, 30.2%)
CIE-LABlab(67.63, -29.74, 27.90)
CIE-LCHlch(67.63, 40.78, 136.83°)
OKLaboklab(71.05% -0.0812 0.0694)
OKLCHoklch(71.05% 0.107 139.5)
XYZxyz(27.5043, 37.4676, 21.4024)
Luminance0.3747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB271 #A571B2
analogous
#9FB271 #7EB271 #71B285
triadic
#7EB271 #717EB2 #B2717E
tetradic
#7EB271 #719FB2 #A571B2 #B28571
square
#7EB271 #719FB2 #A571B2 #B28571
split-complementary
#7EB271 #8571B2 #B2719F
monochromatic
#456D3B #5E9551 #7EB271 #A2C899 #C6DDC0

Accessibility & contrast

On white

2.47
#7EB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#7EB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB271
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB271#FFFFFF#000000##000000
##7EB2711.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86D
Deuteranopia (green-blind)
#AEA375
Tritanopia (blue-blind)
#7BAEA2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7eb271;
/* rgb */ color: rgb(126, 178, 113);
/* oklch */ color: oklch(71.1% 0.107 139.5);
Tailwind
colors: {
  custom: {
    50: '#a5c99a',
    500: '#7eb271',
    950: '#000000',
  },
}
SCSS
$custom: #7eb271;
$custom-light: #a5c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb271",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 108,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.10677,
    "h": 139.5
  },
  "luminance": 0.37469
}

Semantic roles & 50–950 ramp

primary
#7EB271
secondary
#C7B2CD
accent
#62C6B2
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#0F130E
muted
#7F827E

Preview Lab

Preview with #7EB271

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

Preview Lab → · Contrast checker → · Palette generator →

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