#7EB140#7EB140

#7EB140 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.1% C 0.153 H 130.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7EB140
RGBrgb(126, 177, 64)
HSLhsl(87, 47%, 47%)
HSVhsv(87, 64%, 69%)
CMYKcmyk(28.8%, 0%, 63.8%, 30.6%)
CIE-LABlab(66.71, -35.08, 50.84)
CIE-LCHlch(66.71, 61.77, 124.60°)
OKLaboklab(70.11% -0.0988 0.1169)
OKLCHoklch(70.11% 0.153 130.2)
XYZxyz(25.2515, 36.2494, 10.5159)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB140 #7340B1
analogous
#B1AC40 #7EB140 #45B140
triadic
#7EB140 #407EB1 #B1407E
tetradic
#7EB140 #40B1AC #7340B1 #B14045
square
#7EB140 #40B1AC #7340B1 #B14045
split-complementary
#7EB140 #4045B1 #AC40B1
monochromatic
#3E571F #5E8430 #7EB140 #9CC866 #B9D893

Accessibility & contrast

On white

2.55
#7EB140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#7EB140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB140
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB140#FFFFFF#000000##000000
##7EB1401.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B2A149
Tritanopia (blue-blind)
#81AA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb140;
/* rgb */ color: rgb(126, 177, 64);
/* oklch */ color: oklch(70.1% 0.153 130.2);
Tailwind
colors: {
  custom: {
    50: '#a7c87a',
    500: '#7eb140',
    950: '#000000',
  },
}
SCSS
$custom: #7eb140;
$custom-light: #a7c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb140",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 87.08,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70108,
    "c": 0.15312,
    "h": 130.2
  },
  "luminance": 0.3625
}

Semantic roles & 50–950 ramp

primary
#7EB140
secondary
#A489C3
accent
#51D78D
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB140

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

Preview Lab → · Contrast checker → · Palette generator →

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