#7FCC40#7FCC40

#7FCC40 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 76.8% C 0.188 H 133.9°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#7FCC40
RGBrgb(127, 204, 64)
HSLhsl(93, 58%, 53%)
HSVhsv(93, 69%, 80%)
CMYKcmyk(37.7%, 0%, 68.6%, 20%)
CIE-LABlab(74.87, -46.50, 59.52)
CIE-LCHlch(74.87, 75.53, 128.00°)
OKLaboklab(76.77% -0.1301 0.1352)
OKLCHoklch(76.77% 0.188 133.9)
XYZxyz(31.2701, 48.0665, 12.4796)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCC40 #8D40CC
analogous
#C5CC40 #7FCC40 #40CC47
triadic
#7FCC40 #407FCC #CC407F
tetradic
#7FCC40 #40C5CC #8D40CC #CC4740
square
#7FCC40 #40C5CC #8D40CC #CC4740
split-complementary
#7FCC40 #4740CC #CC40C5
monochromatic
#45731F #61A32C #7FCC40 #9FD970 #C0E6A1

Accessibility & contrast

On white

1.98
#7FCC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#7FCC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCC40
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCC40#FFFFFF#000000##000000
##7FCC401.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#7FC4B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7fcc40;
/* rgb */ color: rgb(127, 204, 64);
/* oklch */ color: oklch(76.8% 0.188 133.9);
Tailwind
colors: {
  custom: {
    50: '#a9dc7c',
    500: '#7fcc40',
    950: '#000000',
  },
}
SCSS
$custom: #7fcc40;
$custom-light: #a9dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fcc40",
  "rgb": {
    "r": 127,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 93,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76768,
    "c": 0.18763,
    "h": 133.9
  },
  "luminance": 0.48068
}

Semantic roles & 50–950 ramp

primary
#7FCC40
secondary
#B795D2
accent
#47E19C
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7FCC40

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

Preview Lab → · Contrast checker → · Palette generator →

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