#7EC242#7EC242

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

Color values

HEX#7EC242
RGBrgb(126, 194, 66)
HSLhsl(92, 51%, 51%)
HSVhsv(92, 66%, 76%)
CMYKcmyk(35.1%, 0%, 66%, 23.9%)
CIE-LABlab(71.83, -42.45, 55.52)
CIE-LCHlch(71.83, 69.89, 127.40°)
OKLaboklab(74.28% -0.1189 0.1271)
OKLCHoklch(74.28% 0.174 133.1)
XYZxyz(28.8789, 43.4113, 12.0108)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC242 #8642C2
analogous
#BEC242 #7EC242 #42C246
triadic
#7EC242 #427EC2 #C2427E
tetradic
#7EC242 #42BEC2 #8642C2 #C24642
square
#7EC242 #42BEC2 #8642C2 #C24642
split-complementary
#7EC242 #4642C2 #C242BE
monochromatic
#436822 #609631 #7EC242 #9ED170 #BDE09F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EC242#FFFFFF#000000##000000
##7EC2421.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)
#CAB331
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#7FBAA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7ec242;
/* rgb */ color: rgb(126, 194, 66);
/* oklch */ color: oklch(74.3% 0.174 133.1);
Tailwind
colors: {
  custom: {
    50: '#a8d57c',
    500: '#7ec242',
    950: '#000000',
  },
}
SCSS
$custom: #7ec242;
$custom-light: #a8d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec242",
  "rgb": {
    "r": 126,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 91.875,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74283,
    "c": 0.174,
    "h": 133.1
  },
  "luminance": 0.43413
}

Semantic roles & 50–950 ramp

primary
#7EC242
secondary
#B294CC
accent
#4DDB98
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7EC242

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

Preview Lab → · Contrast checker → · Palette generator →

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