#7FD540#7FD540

#7FD540 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.0% C 0.199 H 134.8°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#7FD540
RGBrgb(127, 213, 64)
HSLhsl(95, 64%, 54%)
HSVhsv(95, 70%, 84%)
CMYKcmyk(40.4%, 0%, 70%, 16.5%)
CIE-LABlab(77.56, -50.19, 62.29)
CIE-LCHlch(77.56, 80.00, 128.86°)
OKLaboklab(78.97% -0.1401 0.141)
OKLCHoklch(78.97% 0.199 134.8)
XYZxyz(33.4713, 52.4689, 13.2134)
Luminance0.5247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FD540 #9640D5
analogous
#C9D540 #7FD540 #40D54C
triadic
#7FD540 #407FD5 #D5407F
tetradic
#7FD540 #40C9D5 #9640D5 #D54C40
square
#7FD540 #40C9D5 #9640D5 #D54C40
split-complementary
#7FD540 #4C40D5 #D540C9
monochromatic
#467F1C #61B127 #7FD540 #A1E072 #C2EBA4

Accessibility & contrast

On white

1.83
#7FD540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#7FD540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FD540
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FD540#FFFFFF#000000##000000
##7FD5401.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC428
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#7DCDB8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #7fd540;
/* rgb */ color: rgb(127, 213, 64);
/* oklch */ color: oklch(79.0% 0.199 134.8);
Tailwind
colors: {
  custom: {
    50: '#aae27d',
    500: '#7fd540',
    950: '#000000',
  },
}
SCSS
$custom: #7fd540;
$custom-light: #aae27d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fd540",
  "rgb": {
    "r": 127,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 94.631,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78971,
    "c": 0.1988,
    "h": 134.8
  },
  "luminance": 0.52471
}

Semantic roles & 50–950 ramp

primary
#7FD540
secondary
#633386
accent
#41E7A1
background
#FDFEFB
surface
#F7FCF2
border
#D0D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #7FD540

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

Preview Lab → · Contrast checker → · Palette generator →

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