#7FC940#7FC940

#7FC940 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.0% C 0.184 H 133.6°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7FC940
RGBrgb(127, 201, 64)
HSLhsl(92, 56%, 52%)
HSVhsv(92, 68%, 79%)
CMYKcmyk(36.8%, 0%, 68.2%, 21.2%)
CIE-LABlab(73.97, -45.24, 58.58)
CIE-LCHlch(73.97, 74.02, 127.68°)
OKLaboklab(76.03% -0.1267 0.1332)
OKLCHoklch(76.03% 0.184 133.6)
XYZxyz(30.5639, 46.6541, 12.2442)
Luminance0.4666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC940 #8A40C9
analogous
#C3C940 #7FC940 #40C946
triadic
#7FC940 #407FC9 #C9407F
tetradic
#7FC940 #40C3C9 #8A40C9 #C94640
square
#7FC940 #40C3C9 #8A40C9 #C94640
split-complementary
#7FC940 #4640C9 #C940C3
monochromatic
#446F1F #619F2D #7FC940 #9FD670 #BFE49F

Accessibility & contrast

On white

2.03
#7FC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#7FC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC940
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC940#FFFFFF#000000##000000
##7FC9401.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#7FC1AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7fc940;
/* rgb */ color: rgb(127, 201, 64);
/* oklch */ color: oklch(76.0% 0.184 133.6);
Tailwind
colors: {
  custom: {
    50: '#a9da7c',
    500: '#7fc940',
    950: '#000000',
  },
}
SCSS
$custom: #7fc940;
$custom-light: #a9da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc940",
  "rgb": {
    "r": 127,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 92.409,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76034,
    "c": 0.18385,
    "h": 133.6
  },
  "luminance": 0.46655
}

Semantic roles & 50–950 ramp

primary
#7FC940
secondary
#B594D0
accent
#49DF9A
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7FC940

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

Preview Lab → · Contrast checker → · Palette generator →

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