#7EC742#7EC742

#7EC742 is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 75.5% C 0.180 H 133.7°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7EC742
RGBrgb(126, 199, 66)
HSLhsl(93, 54%, 52%)
HSVhsv(93, 67%, 78%)
CMYKcmyk(36.7%, 0%, 66.8%, 22%)
CIE-LABlab(73.33, -44.59, 57.11)
CIE-LCHlch(73.33, 72.46, 127.98°)
OKLaboklab(75.51% -0.1247 0.1304)
OKLCHoklch(75.51% 0.18 133.7)
XYZxyz(30.0104, 45.6745, 12.3880)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC742 #8B42C7
analogous
#C1C742 #7EC742 #42C748
triadic
#7EC742 #427EC7 #C7427E
tetradic
#7EC742 #42C1C7 #8B42C7 #C74842
square
#7EC742 #42C1C7 #8B42C7 #C74842
split-complementary
#7EC742 #4842C7 #C742C1
monochromatic
#446E21 #609D2F #7EC742 #9ED571 #BEE3A0

Accessibility & contrast

On white

2.07
#7EC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#7EC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC742
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC742#FFFFFF#000000##000000
##7EC7421.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#C5B24D
Tritanopia (blue-blind)
#7EBFAC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #7ec742;
/* rgb */ color: rgb(126, 199, 66);
/* oklch */ color: oklch(75.5% 0.180 133.7);
Tailwind
colors: {
  custom: {
    50: '#a8d87d',
    500: '#7ec742',
    950: '#000000',
  },
}
SCSS
$custom: #7ec742;
$custom-light: #a8d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec742",
  "rgb": {
    "r": 126,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 92.932,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75508,
    "c": 0.18044,
    "h": 133.7
  },
  "luminance": 0.45676
}

Semantic roles & 50–950 ramp

primary
#7EC742
secondary
#B595D0
accent
#4ADE9B
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7EC742

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

Preview Lab → · Contrast checker → · Palette generator →

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