#7FE242#7FE242

#7FE242 is a very light, highly saturated yellow-green. Relative luminance 0.593; OKLCH L 82.2% C 0.213 H 136.0°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#7FE242
RGBrgb(127, 226, 66)
HSLhsl(97, 73%, 57%)
HSVhsv(97, 71%, 89%)
CMYKcmyk(43.8%, 0%, 70.8%, 11.4%)
CIE-LABlab(81.45, -55.20, 65.53)
CIE-LCHlch(81.45, 85.69, 130.11°)
OKLaboklab(82.17% -0.1536 0.1481)
OKLCHoklch(82.17% 0.213 136)
XYZxyz(36.9312, 59.2959, 14.6525)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FE242 #A542E2
analogous
#CFE242 #7FE242 #42E255
triadic
#7FE242 #427FE2 #E2427F
tetradic
#7FE242 #42CFE2 #A542E2 #E25542
square
#7FE242 #42CFE2 #A542E2 #E25542
split-complementary
#7FE242 #5542E2 #E242CF
monochromatic
#469317 #5FC81F #7FE242 #A3EA77 #C7F2AC

Accessibility & contrast

On white

1.63
#7FE242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#7FE242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FE242
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FE242#FFFFFF#000000##000000
##7FE2421.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD027
Deuteranopia (green-blind)
#DDC751
Tritanopia (blue-blind)
#7BDAC3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #7fe242;
/* rgb */ color: rgb(127, 226, 66);
/* oklch */ color: oklch(82.2% 0.213 136.0);
Tailwind
colors: {
  custom: {
    50: '#abec80',
    500: '#7fe242',
    950: '#000000',
  },
}
SCSS
$custom: #7fe242;
$custom-light: #abec80;
$custom-dark: #000000;
JSON
{
  "hex": "#7fe242",
  "rgb": {
    "r": 127,
    "g": 226,
    "b": 66
  },
  "hsl": {
    "h": 97.125,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82165,
    "c": 0.21333,
    "h": 136
  },
  "luminance": 0.59298
}

Semantic roles & 50–950 ramp

primary
#7FE242
secondary
#703198
accent
#38F0AA
background
#FDFFFB
surface
#F8FEF2
border
#D1D6CC
text
#11160B
muted
#81857E

Preview Lab

Preview with #7FE242

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

Preview Lab → · Contrast checker → · Palette generator →

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