#7FD842#7FD842

#7FD842 is a light, highly saturated yellow-green. Relative luminance 0.540; OKLCH L 79.7% C 0.201 H 135.2°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#7FD842
RGBrgb(127, 216, 66)
HSLhsl(96, 66%, 55%)
HSVhsv(96, 69%, 85%)
CMYKcmyk(41.2%, 0%, 69.4%, 15.3%)
CIE-LABlab(78.47, -51.26, 62.49)
CIE-LCHlch(78.47, 80.82, 129.36°)
OKLaboklab(79.72% -0.1429 0.1417)
OKLCHoklch(79.72% 0.201 135.2)
XYZxyz(34.2908, 54.0152, 13.7723)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FD842 #9B42D8
analogous
#CAD842 #7FD842 #42D850
triadic
#7FD842 #427FD8 #D8427F
tetradic
#7FD842 #42CAD8 #9B42D8 #D85042
square
#7FD842 #42CAD8 #9B42D8 #D85042
split-complementary
#7FD842 #5042D8 #D842CA
monochromatic
#46841B #61B726 #7FD842 #A1E275 #C4EDA7

Accessibility & contrast

On white

1.78
#7FD842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#7FD842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FD842
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FD842#FFFFFF#000000##000000
##7FD8421.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72A
Deuteranopia (green-blind)
#D4BF50
Tritanopia (blue-blind)
#7DD0BA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #7fd842;
/* rgb */ color: rgb(127, 216, 66);
/* oklch */ color: oklch(79.7% 0.201 135.2);
Tailwind
colors: {
  custom: {
    50: '#aae47f',
    500: '#7fd842',
    950: '#000000',
  },
}
SCSS
$custom: #7fd842;
$custom-light: #aae47f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fd842",
  "rgb": {
    "r": 127,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 95.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79721,
    "c": 0.20122,
    "h": 135.2
  },
  "luminance": 0.54017
}

Semantic roles & 50–950 ramp

primary
#7FD842
secondary
#67338B
accent
#3FE9A4
background
#FDFEFB
surface
#F7FCF2
border
#D0D5CC
text
#11160B
muted
#81847E

Preview Lab

Preview with #7FD842

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

Preview Lab → · Contrast checker → · Palette generator →

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