#7EC840#7EC840

#7EC840 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 75.7% C 0.183 H 133.7°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7EC840
RGBrgb(126, 200, 64)
HSLhsl(93, 55%, 52%)
HSVhsv(93, 68%, 78%)
CMYKcmyk(37%, 0%, 68%, 21.6%)
CIE-LABlab(73.62, -45.16, 58.20)
CIE-LCHlch(73.62, 73.67, 127.81°)
OKLaboklab(75.74% -0.1264 0.1325)
OKLCHoklch(75.74% 0.183 133.7)
XYZxyz(30.1834, 46.1130, 12.1598)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC840 #8A40C8
analogous
#C2C840 #7EC840 #40C846
triadic
#7EC840 #407EC8 #C8407E
tetradic
#7EC840 #40C2C8 #8A40C8 #C84640
square
#7EC840 #40C2C8 #8A40C8 #C84640
split-complementary
#7EC840 #4640C8 #C840C2
monochromatic
#436E20 #609D2D #7EC840 #9ED670 #BEE39F

Accessibility & contrast

On white

2.05
#7EC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#7EC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC840
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC840#FFFFFF#000000##000000
##7EC8401.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#7EC0AD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #7ec840;
/* rgb */ color: rgb(126, 200, 64);
/* oklch */ color: oklch(75.7% 0.183 133.7);
Tailwind
colors: {
  custom: {
    50: '#a8d97c',
    500: '#7ec840',
    950: '#000000',
  },
}
SCSS
$custom: #7ec840;
$custom-light: #a8d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec840",
  "rgb": {
    "r": 126,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 92.647,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75736,
    "c": 0.1831,
    "h": 133.7
  },
  "luminance": 0.46114
}

Semantic roles & 50–950 ramp

primary
#7EC840
secondary
#B594D0
accent
#49DF9A
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7EC840

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

Preview Lab → · Contrast checker → · Palette generator →

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