#7EC640#7EC640

#7EC640 is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.2% C 0.181 H 133.4°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7EC640
RGBrgb(126, 198, 64)
HSLhsl(92, 54%, 51%)
HSVhsv(92, 68%, 78%)
CMYKcmyk(36.4%, 0%, 67.7%, 22.4%)
CIE-LABlab(73.02, -44.32, 57.57)
CIE-LCHlch(73.02, 72.66, 127.59°)
OKLaboklab(75.25% -0.1241 0.1311)
OKLCHoklch(75.25% 0.181 133.4)
XYZxyz(29.7232, 45.1926, 12.0064)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC640 #8840C6
analogous
#C1C640 #7EC640 #40C645
triadic
#7EC640 #407EC6 #C6407E
tetradic
#7EC640 #40C1C6 #8840C6 #C64540
square
#7EC640 #40C1C6 #8840C6 #C64540
split-complementary
#7EC640 #4540C6 #C640C1
monochromatic
#436C20 #609B2E #7EC640 #9ED46F #BEE29E

Accessibility & contrast

On white

2.09
#7EC640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#7EC640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC640
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC640#FFFFFF#000000##000000
##7EC6401.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72D
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#7EBEAB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #7ec640;
/* rgb */ color: rgb(126, 198, 64);
/* oklch */ color: oklch(75.2% 0.181 133.4);
Tailwind
colors: {
  custom: {
    50: '#a8d87c',
    500: '#7ec640',
    950: '#000000',
  },
}
SCSS
$custom: #7ec640;
$custom-light: #a8d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec640",
  "rgb": {
    "r": 126,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 92.239,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75246,
    "c": 0.18056,
    "h": 133.4
  },
  "luminance": 0.45194
}

Semantic roles & 50–950 ramp

primary
#7EC640
secondary
#B393CE
accent
#4ADD99
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7EC640

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

Preview Lab → · Contrast checker → · Palette generator →

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