#7EB142#7EB142

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

Color values

HEX#7EB142
RGBrgb(126, 177, 66)
HSLhsl(88, 46%, 48%)
HSVhsv(88, 63%, 69%)
CMYKcmyk(28.8%, 0%, 62.7%, 30.6%)
CIE-LABlab(66.73, -34.91, 49.99)
CIE-LCHlch(66.73, 60.98, 124.93°)
OKLaboklab(70.13% -0.0982 0.1154)
OKLCHoklch(70.13% 0.152 130.4)
XYZxyz(25.3095, 36.2725, 10.8210)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB142 #7542B1
analogous
#B1AD42 #7EB142 #46B142
triadic
#7EB142 #427EB1 #B1427E
tetradic
#7EB142 #42B1AD #7542B1 #B14246
square
#7EB142 #42B1AD #7542B1 #B14246
split-complementary
#7EB142 #4246B1 #AD42B1
monochromatic
#3F5821 #5E8431 #7EB142 #9CC769 #B9D896

Accessibility & contrast

On white

2.54
#7EB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB142#FFFFFF#000000##000000
##7EB1421.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A535
Deuteranopia (green-blind)
#B2A14A
Tritanopia (blue-blind)
#81AA9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb142;
/* rgb */ color: rgb(126, 177, 66);
/* oklch */ color: oklch(70.1% 0.152 130.4);
Tailwind
colors: {
  custom: {
    50: '#a7c87b',
    500: '#7eb142',
    950: '#000000',
  },
}
SCSS
$custom: #7eb142;
$custom-light: #a7c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb142",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 87.568,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70128,
    "c": 0.15153,
    "h": 130.4
  },
  "luminance": 0.36273
}

Semantic roles & 50–950 ramp

primary
#7EB142
secondary
#A58BC3
accent
#52D58F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB142

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

Preview Lab → · Contrast checker → · Palette generator →

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