#7EC240#7EC240

#7EC240 is a light, vivid yellow-green. Relative luminance 0.434; OKLCH L 74.3% C 0.175 H 132.9°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7EC240
RGBrgb(126, 194, 64)
HSLhsl(91, 52%, 51%)
HSVhsv(91, 67%, 76%)
CMYKcmyk(35.1%, 0%, 67%, 23.9%)
CIE-LABlab(71.82, -42.61, 56.31)
CIE-LCHlch(71.82, 70.62, 127.12°)
OKLaboklab(74.27% -0.1195 0.1285)
OKLCHoklch(74.27% 0.175 132.9)
XYZxyz(28.8210, 43.3882, 11.7057)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC240 #8440C2
analogous
#BFC240 #7EC240 #40C243
triadic
#7EC240 #407EC2 #C2407E
tetradic
#7EC240 #40BFC2 #8440C2 #C24340
square
#7EC240 #40BFC2 #8440C2 #C24340
split-complementary
#7EC240 #4340C2 #C240BF
monochromatic
#426721 #609530 #7EC240 #9DD16E #BDE09D

Accessibility & contrast

On white

2.17
#7EC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#7EC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC240
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC240#FFFFFF#000000##000000
##7EC2401.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32E
Deuteranopia (green-blind)
#C0AE4B
Tritanopia (blue-blind)
#7FBAA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7ec240;
/* rgb */ color: rgb(126, 194, 64);
/* oklch */ color: oklch(74.3% 0.175 132.9);
Tailwind
colors: {
  custom: {
    50: '#a8d57b',
    500: '#7ec240',
    950: '#000000',
  },
}
SCSS
$custom: #7ec240;
$custom-light: #a8d57b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec240",
  "rgb": {
    "r": 126,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 91.385,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74266,
    "c": 0.17544,
    "h": 132.9
  },
  "luminance": 0.43389
}

Semantic roles & 50–950 ramp

primary
#7EC240
secondary
#B092CC
accent
#4DDB97
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7EC240

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

Preview Lab → · Contrast checker → · Palette generator →

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