#7ECE42#7ECE42

#7ECE42 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.2% C 0.189 H 134.5°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#7ECE42
RGBrgb(126, 206, 66)
HSLhsl(94, 59%, 53%)
HSVhsv(94, 68%, 81%)
CMYKcmyk(38.8%, 0%, 68%, 19.2%)
CIE-LABlab(75.43, -47.51, 59.32)
CIE-LCHlch(75.43, 76.00, 128.69°)
OKLaboklab(77.22% -0.1327 0.1351)
OKLCHoklch(77.22% 0.189 134.5)
XYZxyz(31.6582, 48.9700, 12.9373)
Luminance0.4897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECE42 #9242CE
analogous
#C4CE42 #7ECE42 #42CE4C
triadic
#7ECE42 #427ECE #CE427E
tetradic
#7ECE42 #42C4CE #9242CE #CE4C42
square
#7ECE42 #42C4CE #9242CE #CE4C42
split-complementary
#7ECE42 #4C42CE #CE42C4
monochromatic
#45771F #61A72B #7ECE42 #9FDB73 #C0E7A3

Accessibility & contrast

On white

1.95
#7ECE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#7ECE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECE42
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECE42#FFFFFF#000000##000000
##7ECE421.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#CBB74E
Tritanopia (blue-blind)
#7DC6B2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #7ece42;
/* rgb */ color: rgb(126, 206, 66);
/* oklch */ color: oklch(77.2% 0.189 134.5);
Tailwind
colors: {
  custom: {
    50: '#a9dd7e',
    500: '#7ece42',
    950: '#000000',
  },
}
SCSS
$custom: #7ece42;
$custom-light: #a9dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ece42",
  "rgb": {
    "r": 126,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 94.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77222,
    "c": 0.18931,
    "h": 134.5
  },
  "luminance": 0.48972
}

Semantic roles & 50–950 ramp

primary
#7ECE42
secondary
#BA98D4
accent
#46E29F
background
#FAFDF8
surface
#F4FBEF
border
#CED4CA
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7ECE42

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

Preview Lab → · Contrast checker → · Palette generator →

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