#7EC540#7EC540

#7EC540 is a light, vivid yellow-green. Relative luminance 0.447; OKLCH L 75.0% C 0.179 H 133.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7EC540
RGBrgb(126, 197, 64)
HSLhsl(92, 53%, 51%)
HSVhsv(92, 68%, 77%)
CMYKcmyk(36%, 0%, 67.5%, 22.7%)
CIE-LABlab(72.72, -43.89, 57.26)
CIE-LCHlch(72.72, 72.15, 127.47°)
OKLaboklab(75% -0.123 0.1305)
OKLCHoklch(75% 0.179 133.3)
XYZxyz(29.4954, 44.7370, 11.9305)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC540 #8740C5
analogous
#C0C540 #7EC540 #40C544
triadic
#7EC540 #407EC5 #C5407E
tetradic
#7EC540 #40C0C5 #8740C5 #C54440
square
#7EC540 #40C0C5 #8740C5 #C54440
split-complementary
#7EC540 #4440C5 #C540C0
monochromatic
#436A20 #60992F #7EC540 #9ED36F #BDE29E

Accessibility & contrast

On white

2.11
#7EC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#7EC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC540
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC540#FFFFFF#000000##000000
##7EC5401.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#C3B04B
Tritanopia (blue-blind)
#7EBDAA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #7ec540;
/* rgb */ color: rgb(126, 197, 64);
/* oklch */ color: oklch(75.0% 0.179 133.3);
Tailwind
colors: {
  custom: {
    50: '#a8d77c',
    500: '#7ec540',
    950: '#000000',
  },
}
SCSS
$custom: #7ec540;
$custom-light: #a8d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec540",
  "rgb": {
    "r": 126,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 92.03,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75001,
    "c": 0.17927,
    "h": 133.3
  },
  "luminance": 0.44738
}

Semantic roles & 50–950 ramp

primary
#7EC540
secondary
#B293CE
accent
#4BDD99
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7EC540

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

Preview Lab → · Contrast checker → · Palette generator →

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