#7FB151#7FB151

#7FB151 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.4% C 0.138 H 131.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7FB151
RGBrgb(127, 177, 81)
HSLhsl(91, 38%, 51%)
HSVhsv(91, 54%, 69%)
CMYKcmyk(28.2%, 0%, 54.2%, 30.6%)
CIE-LABlab(66.94, -33.08, 43.34)
CIE-LCHlch(66.94, 54.53, 127.36°)
OKLaboklab(70.36% -0.092 0.1026)
OKLCHoklch(70.36% 0.138 131.9)
XYZxyz(25.9594, 36.5496, 13.4700)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB151 #8351B1
analogous
#AFB151 #7FB151 #51B153
triadic
#7FB151 #517FB1 #B1517F
tetradic
#7FB151 #51AFB1 #8351B1 #B15351
square
#7FB151 #51AFB1 #8351B1 #B15351
split-complementary
#7FB151 #5351B1 #B151AF
monochromatic
#435E2A #61883D #7FB151 #9EC47B #BDD7A6

Accessibility & contrast

On white

2.53
#7FB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7FB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB151
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB151#FFFFFF#000000##000000
##7FB1511.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A548
Deuteranopia (green-blind)
#B1A257
Tritanopia (blue-blind)
#81AB9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb151;
/* rgb */ color: rgb(127, 177, 81);
/* oklch */ color: oklch(70.4% 0.138 131.9);
Tailwind
colors: {
  custom: {
    50: '#a7c884',
    500: '#7fb151',
    950: '#000000',
  },
}
SCSS
$custom: #7fb151;
$custom-light: #a7c884;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb151",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 91.25,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70363,
    "c": 0.13784,
    "h": 131.9
  },
  "luminance": 0.3655
}

Semantic roles & 50–950 ramp

primary
#7FB151
secondary
#B09AC4
accent
#5ACE96
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB151

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

Preview Lab → · Contrast checker → · Palette generator →

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