#7FAC51#7FAC51

#7FAC51 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 69.2% C 0.131 H 130.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7FAC51
RGBrgb(127, 172, 81)
HSLhsl(90, 36%, 50%)
HSVhsv(90, 53%, 67%)
CMYKcmyk(26.2%, 0%, 52.9%, 32.5%)
CIE-LABlab(65.44, -30.74, 41.57)
CIE-LCHlch(65.44, 51.70, 126.48°)
OKLaboklab(69.15% -0.0855 0.0988)
OKLCHoklch(69.15% 0.131 130.9)
XYZxyz(24.9898, 34.6105, 13.1469)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC51 #7E51AC
analogous
#ACAB51 #7FAC51 #52AC51
triadic
#7FAC51 #517FAC #AC517F
tetradic
#7FAC51 #51ACAB #7E51AC #AC5152
square
#7FAC51 #51ACAB #7E51AC #AC5152
split-complementary
#7FAC51 #5152AC #AB51AC
monochromatic
#42592A #60823D #7FAC51 #9DC07A #BCD4A3

Accessibility & contrast

On white

2.65
#7FAC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#7FAC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC51
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC51#FFFFFF#000000##000000
##7FAC511.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#AC9E57
Tritanopia (blue-blind)
#81A697
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fac51;
/* rgb */ color: rgb(127, 172, 81);
/* oklch */ color: oklch(69.2% 0.131 130.9);
Tailwind
colors: {
  custom: {
    50: '#a6c584',
    500: '#7fac51',
    950: '#000000',
  },
}
SCSS
$custom: #7fac51;
$custom-light: #a6c584;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac51",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 89.67,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69154,
    "c": 0.13064,
    "h": 130.9
  },
  "luminance": 0.34611
}

Semantic roles & 50–950 ramp

primary
#7FAC51
secondary
#AC98C1
accent
#5CCC93
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FAC51

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

Preview Lab → · Contrast checker → · Palette generator →

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