#7FC951#7FC951

#7FC951 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.2% C 0.171 H 135.2°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7FC951
RGBrgb(127, 201, 81)
HSLhsl(97, 53%, 55%)
HSVhsv(97, 60%, 79%)
CMYKcmyk(36.8%, 0%, 59.7%, 21.2%)
CIE-LABlab(74.11, -43.78, 51.63)
CIE-LCHlch(74.11, 67.70, 130.30°)
OKLaboklab(76.2% -0.1214 0.1205)
OKLCHoklch(76.2% 0.171 135.2)
XYZxyz(31.1235, 46.8779, 15.1914)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC951 #9B51C9
analogous
#BBC951 #7FC951 #51C95F
triadic
#7FC951 #517FC9 #C9517F
tetradic
#7FC951 #51BBC9 #9B51C9 #C95F51
square
#7FC951 #51BBC9 #9B51C9 #C95F51
split-complementary
#7FC951 #5F51C9 #C951BB
monochromatic
#467A26 #61A934 #7FC951 #A1D780 #C4E6AE

Accessibility & contrast

On white

2.02
#7FC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#7FC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC951
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC951#FFFFFF#000000##000000
##7FC9511.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA44
Deuteranopia (green-blind)
#C6B45A
Tritanopia (blue-blind)
#7EC2AF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7fc951;
/* rgb */ color: rgb(127, 201, 81);
/* oklch */ color: oklch(76.2% 0.171 135.2);
Tailwind
colors: {
  custom: {
    50: '#a8da86',
    500: '#7fc951',
    950: '#000000',
  },
}
SCSS
$custom: #7fc951;
$custom-light: #a8da86;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc951",
  "rgb": {
    "r": 127,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 97,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76197,
    "c": 0.17108,
    "h": 135.2
  },
  "luminance": 0.46879
}

Semantic roles & 50–950 ramp

primary
#7FC951
secondary
#C1A2D4
accent
#4CDCA5
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7FC951

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

Preview Lab → · Contrast checker → · Palette generator →

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