#7FAC4C#7FAC4C

#7FAC4C is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 69.1% C 0.135 H 130.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7FAC4C
RGBrgb(127, 172, 76)
HSLhsl(88, 39%, 49%)
HSVhsv(88, 56%, 67%)
CMYKcmyk(26.2%, 0%, 55.8%, 32.5%)
CIE-LABlab(65.39, -31.27, 43.92)
CIE-LCHlch(65.39, 53.91, 125.45°)
OKLaboklab(69.09% -0.0874 0.1034)
OKLCHoklch(69.09% 0.135 130.2)
XYZxyz(24.8092, 34.5383, 12.1955)
Luminance0.3454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC4C #794CAC
analogous
#ACA94C #7FAC4C #4FAC4C
triadic
#7FAC4C #4C7FAC #AC4C7F
tetradic
#7FAC4C #4CACA9 #794CAC #AC4C4F
square
#7FAC4C #4CACA9 #794CAC #AC4C4F
split-complementary
#7FAC4C #4C4FAC #A94CAC
monochromatic
#405726 #608239 #7FAC4C #9DC174 #BBD49E

Accessibility & contrast

On white

2.66
#7FAC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#7FAC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC4C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC4C#FFFFFF#000000##000000
##7FAC4C1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A143
Deuteranopia (green-blind)
#AD9E52
Tritanopia (blue-blind)
#82A597
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fac4c;
/* rgb */ color: rgb(127, 172, 76);
/* oklch */ color: oklch(69.1% 0.135 130.2);
Tailwind
colors: {
  custom: {
    50: '#a7c581',
    500: '#7fac4c',
    950: '#000000',
  },
}
SCSS
$custom: #7fac4c;
$custom-light: #a7c581;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac4c",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 76
  },
  "hsl": {
    "h": 88.125,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69089,
    "c": 0.13541,
    "h": 130.2
  },
  "luminance": 0.34539
}

Semantic roles & 50–950 ramp

primary
#7FAC4C
secondary
#A893C1
accent
#59CF90
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FAC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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