#7FAC4A#7FAC4A

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

Color values

HEX#7FAC4A
RGBrgb(127, 172, 74)
HSLhsl(88, 40%, 48%)
HSVhsv(88, 57%, 67%)
CMYKcmyk(26.2%, 0%, 57%, 32.5%)
CIE-LABlab(65.37, -31.47, 44.84)
CIE-LCHlch(65.37, 54.78, 125.06°)
OKLaboklab(69.07% -0.0881 0.1052)
OKLCHoklch(69.07% 0.137 129.9)
XYZxyz(24.7407, 34.5109, 11.8350)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC4A #774AAC
analogous
#ACA84A #7FAC4A #4EAC4A
triadic
#7FAC4A #4A7FAC #AC4A7F
tetradic
#7FAC4A #4AACA8 #774AAC #AC4A4E
square
#7FAC4A #4AACA8 #774AAC #AC4A4E
split-complementary
#7FAC4A #4A4EAC #A84AAC
monochromatic
#405625 #5F8138 #7FAC4A #9DC271 #BBD49C

Accessibility & contrast

On white

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

On black

7.90
#7FAC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC4A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC4A#FFFFFF#000000##000000
##7FAC4A1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A140
Deuteranopia (green-blind)
#AD9E51
Tritanopia (blue-blind)
#82A596
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fac4a;
/* rgb */ color: rgb(127, 172, 74);
/* oklch */ color: oklch(69.1% 0.137 129.9);
Tailwind
colors: {
  custom: {
    50: '#a7c580',
    500: '#7fac4a',
    950: '#000000',
  },
}
SCSS
$custom: #7fac4a;
$custom-light: #a7c580;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac4a",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 74
  },
  "hsl": {
    "h": 87.551,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69065,
    "c": 0.13725,
    "h": 129.9
  },
  "luminance": 0.34511
}

Semantic roles & 50–950 ramp

primary
#7FAC4A
secondary
#A791C1
accent
#58D08F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FAC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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