#7EC142#7EC142

#7EC142 is a light, vivid yellow-green. Relative luminance 0.430; OKLCH L 74.0% C 0.173 H 133.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7EC142
RGBrgb(126, 193, 66)
HSLhsl(92, 51%, 51%)
HSVhsv(92, 66%, 76%)
CMYKcmyk(34.7%, 0%, 65.8%, 24.3%)
CIE-LABlab(71.53, -42.02, 55.20)
CIE-LCHlch(71.53, 69.37, 127.28°)
OKLaboklab(74.04% -0.1177 0.1264)
OKLCHoklch(74.04% 0.173 133)
XYZxyz(28.6571, 42.9677, 11.9369)
Luminance0.4297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC142 #8542C1
analogous
#BDC142 #7EC142 #42C145
triadic
#7EC142 #427EC1 #C1427E
tetradic
#7EC142 #42BDC1 #8542C1 #C14542
square
#7EC142 #42BDC1 #8542C1 #C14542
split-complementary
#7EC142 #4542C1 #C142BD
monochromatic
#426722 #609531 #7EC142 #9DD070 #BDDF9E

Accessibility & contrast

On white

2.19
#7EC142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#7EC142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC142
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC142#FFFFFF#000000##000000
##7EC1421.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B331
Deuteranopia (green-blind)
#BFAD4C
Tritanopia (blue-blind)
#7FB9A7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #7ec142;
/* rgb */ color: rgb(126, 193, 66);
/* oklch */ color: oklch(74.0% 0.173 133.0);
Tailwind
colors: {
  custom: {
    50: '#a8d47c',
    500: '#7ec142',
    950: '#000000',
  },
}
SCSS
$custom: #7ec142;
$custom-light: #a8d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec142",
  "rgb": {
    "r": 126,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 91.654,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74039,
    "c": 0.17271,
    "h": 133
  },
  "luminance": 0.42969
}

Semantic roles & 50–950 ramp

primary
#7EC142
secondary
#B193CC
accent
#4EDA98
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7EC142

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

Preview Lab → · Contrast checker → · Palette generator →

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