#7FD151#7FD151

#7FD151 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.1% C 0.182 H 136.0°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#7FD151
RGBrgb(127, 209, 81)
HSLhsl(98, 58%, 57%)
HSVhsv(98, 61%, 82%)
CMYKcmyk(39.2%, 0%, 61.2%, 18%)
CIE-LABlab(76.50, -47.15, 54.32)
CIE-LCHlch(76.50, 71.93, 130.96°)
OKLaboklab(78.15% -0.1306 0.1262)
OKLCHoklch(78.15% 0.182 136)
XYZxyz(33.0372, 50.7053, 15.8293)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FD151 #A351D1
analogous
#BFD151 #7FD151 #51D163
triadic
#7FD151 #517FD1 #D1517F
tetradic
#7FD151 #51BFD1 #A351D1 #D16351
square
#7FD151 #51BFD1 #A351D1 #D16351
split-complementary
#7FD151 #6351D1 #D151BF
monochromatic
#468523 #60B530 #7FD151 #A3DE81 #C6EBB2

Accessibility & contrast

On white

1.88
#7FD151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#7FD151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FD151
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FD151#FFFFFF#000000##000000
##7FD1511.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#CDBA5B
Tritanopia (blue-blind)
#7CCAB6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #7fd151;
/* rgb */ color: rgb(127, 209, 81);
/* oklch */ color: oklch(78.1% 0.182 136.0);
Tailwind
colors: {
  custom: {
    50: '#a9df87',
    500: '#7fd151',
    950: '#000000',
  },
}
SCSS
$custom: #7fd151;
$custom-light: #a9df87;
$custom-dark: #000000;
JSON
{
  "hex": "#7fd151",
  "rgb": {
    "r": 127,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 98.438,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78147,
    "c": 0.18168,
    "h": 136
  },
  "luminance": 0.50707
}

Semantic roles & 50–950 ramp

primary
#7FD151
secondary
#6E3B8B
accent
#46E1AA
background
#FDFEFC
surface
#F7FCF3
border
#D0D5CD
text
#10150C
muted
#81847F

Preview Lab

Preview with #7FD151

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

Preview Lab → · Contrast checker → · Palette generator →

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