#7FC242#7FC242

#7FC242 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.3% C 0.173 H 132.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7FC242
RGBrgb(127, 194, 66)
HSLhsl(91, 51%, 51%)
HSVhsv(91, 66%, 76%)
CMYKcmyk(34.5%, 0%, 66%, 23.9%)
CIE-LABlab(71.88, -42.10, 55.59)
CIE-LCHlch(71.88, 69.73, 127.14°)
OKLaboklab(74.34% -0.118 0.1272)
OKLCHoklch(74.34% 0.173 132.8)
XYZxyz(29.0271, 43.4878, 12.0178)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC242 #8542C2
analogous
#BFC242 #7FC242 #42C245
triadic
#7FC242 #427FC2 #C2427F
tetradic
#7FC242 #42BFC2 #8542C2 #C24542
square
#7FC242 #42BFC2 #8542C2 #C24542
split-complementary
#7FC242 #4542C2 #C242BF
monochromatic
#436822 #619631 #7FC242 #9ED170 #BEE09F

Accessibility & contrast

On white

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

On black

9.70
#7FC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC242
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC242#FFFFFF#000000##000000
##7FC2421.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB431
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#80BAA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7fc242;
/* rgb */ color: rgb(127, 194, 66);
/* oklch */ color: oklch(74.3% 0.173 132.8);
Tailwind
colors: {
  custom: {
    50: '#a9d57c',
    500: '#7fc242',
    950: '#000000',
  },
}
SCSS
$custom: #7fc242;
$custom-light: #a9d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc242",
  "rgb": {
    "r": 127,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 91.406,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74339,
    "c": 0.17349,
    "h": 132.8
  },
  "luminance": 0.43489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FC242

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

Preview Lab → · Contrast checker → · Palette generator →

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