#7EC740#7EC740

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

Color values

HEX#7EC740
RGBrgb(126, 199, 64)
HSLhsl(92, 55%, 52%)
HSVhsv(92, 68%, 78%)
CMYKcmyk(36.7%, 0%, 67.8%, 22%)
CIE-LABlab(73.32, -44.74, 57.89)
CIE-LCHlch(73.32, 73.16, 127.70°)
OKLaboklab(75.49% -0.1253 0.1318)
OKLCHoklch(75.49% 0.182 133.5)
XYZxyz(29.9525, 45.6513, 12.0829)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC740 #8940C7
analogous
#C2C740 #7EC740 #40C746
triadic
#7EC740 #407EC7 #C7407E
tetradic
#7EC740 #40C2C7 #8940C7 #C74640
square
#7EC740 #40C2C7 #8940C7 #C74640
split-complementary
#7EC740 #4640C7 #C740C2
monochromatic
#436D20 #609C2E #7EC740 #9ED56F #BEE39F

Accessibility & contrast

On white

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

On black

10.13
#7EC740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC740
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC740#FFFFFF#000000##000000
##7EC7401.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ec740;
/* rgb */ color: rgb(126, 199, 64);
/* oklch */ color: oklch(75.5% 0.182 133.5);
Tailwind
colors: {
  custom: {
    50: '#a8d87c',
    500: '#7ec740',
    950: '#000000',
  },
}
SCSS
$custom: #7ec740;
$custom-light: #a8d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec740",
  "rgb": {
    "r": 126,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 92.444,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75491,
    "c": 0.18183,
    "h": 133.5
  },
  "luminance": 0.45653
}

Semantic roles & 50–950 ramp

primary
#7EC740
secondary
#B494CF
accent
#4ADE9A
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7EC740

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

Preview Lab → · Contrast checker → · Palette generator →

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