#7FD940#7FD940

#7FD940 is a light, highly saturated yellow-green. Relative luminance 0.545; OKLCH L 80.0% C 0.204 H 135.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#7FD940
RGBrgb(127, 217, 64)
HSLhsl(95, 67%, 55%)
HSVhsv(95, 71%, 85%)
CMYKcmyk(41.5%, 0%, 70.5%, 14.9%)
CIE-LABlab(78.76, -51.80, 63.51)
CIE-LCHlch(78.76, 81.96, 129.20°)
OKLaboklab(79.95% -0.1445 0.1436)
OKLCHoklch(79.95% 0.204 135.2)
XYZxyz(34.4899, 54.5060, 13.5529)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FD940 #9A40D9
analogous
#CCD940 #7FD940 #40D94D
triadic
#7FD940 #407FD9 #D9407F
tetradic
#7FD940 #40CCD9 #9A40D9 #D94D40
square
#7FD940 #40CCD9 #9A40D9 #D94D40
split-complementary
#7FD940 #4D40D9 #D940CC
monochromatic
#46841A #61B724 #7FD940 #A1E373 #C3EDA6

Accessibility & contrast

On white

1.76
#7FD940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#7FD940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FD940
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FD940#FFFFFF#000000##000000
##7FD9401.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C826
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#7DD1BB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #7fd940;
/* rgb */ color: rgb(127, 217, 64);
/* oklch */ color: oklch(80.0% 0.204 135.2);
Tailwind
colors: {
  custom: {
    50: '#abe57e',
    500: '#7fd940',
    950: '#000000',
  },
}
SCSS
$custom: #7fd940;
$custom-light: #abe57e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fd940",
  "rgb": {
    "r": 127,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 95.294,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7995,
    "c": 0.20368,
    "h": 135.2
  },
  "luminance": 0.54508
}

Semantic roles & 50–950 ramp

primary
#7FD940
secondary
#66328B
accent
#3EEAA3
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11160A
muted
#81847D

Preview Lab

Preview with #7FD940

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

Preview Lab → · Contrast checker → · Palette generator →

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