#7FD542#7FD542

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

Color values

HEX#7FD542
RGBrgb(127, 213, 66)
HSLhsl(95, 64%, 55%)
HSVhsv(95, 69%, 84%)
CMYKcmyk(40.4%, 0%, 69%, 16.5%)
CIE-LABlab(77.57, -50.05, 61.56)
CIE-LCHlch(77.57, 79.34, 129.11°)
OKLaboklab(78.99% -0.1396 0.1397)
OKLCHoklch(78.99% 0.198 135)
XYZxyz(33.5293, 52.4921, 13.5185)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FD542 #9842D5
analogous
#C8D542 #7FD542 #42D54F
triadic
#7FD542 #427FD5 #D5427F
tetradic
#7FD542 #42C8D5 #9842D5 #D54F42
square
#7FD542 #42C8D5 #9842D5 #D54F42
split-complementary
#7FD542 #4F42D5 #D542C8
monochromatic
#46801C #61B228 #7FD542 #A1E074 #C3EBA6

Accessibility & contrast

On white

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

On black

11.50
#7FD542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FD542
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FD542#FFFFFF#000000##000000
##7FD5421.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fd542;
/* rgb */ color: rgb(127, 213, 66);
/* oklch */ color: oklch(79.0% 0.198 135.0);
Tailwind
colors: {
  custom: {
    50: '#aae27e',
    500: '#7fd542',
    950: '#000000',
  },
}
SCSS
$custom: #7fd542;
$custom-light: #aae27e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fd542",
  "rgb": {
    "r": 127,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 95.102,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78987,
    "c": 0.19752,
    "h": 135
  },
  "luminance": 0.52494
}

Semantic roles & 50–950 ramp

primary
#7FD542
secondary
#653487
accent
#41E7A2
background
#FDFEFB
surface
#F7FCF2
border
#D0D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #7FD542

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

Preview Lab → · Contrast checker → · Palette generator →

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