#7FDC40#7FDC40

#7FDC40 is a light, highly saturated yellow-green. Relative luminance 0.561; OKLCH L 80.7% C 0.207 H 135.4°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#7FDC40
RGBrgb(127, 220, 64)
HSLhsl(96, 69%, 56%)
HSVhsv(96, 71%, 86%)
CMYKcmyk(42.3%, 0%, 70.9%, 13.7%)
CIE-LABlab(79.65, -52.99, 64.42)
CIE-LCHlch(79.65, 83.42, 129.44°)
OKLaboklab(80.68% -0.1477 0.1455)
OKLCHoklch(80.68% 0.207 135.4)
XYZxyz(35.2702, 56.0666, 13.8130)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FDC40 #9D40DC
analogous
#CDDC40 #7FDC40 #40DC4F
triadic
#7FDC40 #407FDC #DC407F
tetradic
#7FDC40 #40CDDC #9D40DC #DC4F40
square
#7FDC40 #40CDDC #9D40DC #DC4F40
split-complementary
#7FDC40 #4F40DC #DC40CD
monochromatic
#468919 #61BC23 #7FDC40 #A2E574 #C4EFA7

Accessibility & contrast

On white

1.72
#7FDC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#7FDC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FDC40
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FDC40#FFFFFF#000000##000000
##7FDC401.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA25
Deuteranopia (green-blind)
#D7C34F
Tritanopia (blue-blind)
#7CD4BD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #7fdc40;
/* rgb */ color: rgb(127, 220, 64);
/* oklch */ color: oklch(80.7% 0.207 135.4);
Tailwind
colors: {
  custom: {
    50: '#abe77e',
    500: '#7fdc40',
    950: '#000000',
  },
}
SCSS
$custom: #7fdc40;
$custom-light: #abe77e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fdc40",
  "rgb": {
    "r": 127,
    "g": 220,
    "b": 64
  },
  "hsl": {
    "h": 95.769,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80684,
    "c": 0.20732,
    "h": 135.4
  },
  "luminance": 0.56069
}

Semantic roles & 50–950 ramp

primary
#7FDC40
secondary
#69328F
accent
#3CECA5
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11160A
muted
#81847D

Preview Lab

Preview with #7FDC40

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

Preview Lab → · Contrast checker → · Palette generator →

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