#7FAC3A#7FAC3A

#7FAC3A is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.9% C 0.151 H 128.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7FAC3A
RGBrgb(127, 172, 58)
HSLhsl(84, 50%, 45%)
HSVhsv(84, 66%, 67%)
CMYKcmyk(26.2%, 0%, 66.3%, 32.5%)
CIE-LABlab(65.22, -32.87, 51.80)
CIE-LCHlch(65.22, 61.35, 122.40°)
OKLaboklab(68.9% -0.0934 0.1182)
OKLCHoklch(68.9% 0.151 128.3)
XYZxyz(24.2686, 34.3220, 9.3484)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC3A #673AAC
analogous
#ACA03A #7FAC3A #46AC3A
triadic
#7FAC3A #3A7FAC #AC3A7F
tetradic
#7FAC3A #3AACA0 #673AAC #AC3A46
square
#7FAC3A #3AACA0 #673AAC #AC3A46
split-complementary
#7FAC3A #3A46AC #A03AAC
monochromatic
#3B501B #5D7E2B #7FAC3A #9DC85B #B8D789

Accessibility & contrast

On white

2.67
#7FAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#7FAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC3A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC3A#FFFFFF#000000##000000
##7FAC3A1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02B
Deuteranopia (green-blind)
#AE9D43
Tritanopia (blue-blind)
#83A495
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac3a;
/* rgb */ color: rgb(127, 172, 58);
/* oklch */ color: oklch(68.9% 0.151 128.3);
Tailwind
colors: {
  custom: {
    50: '#a7c576',
    500: '#7fac3a',
    950: '#000000',
  },
}
SCSS
$custom: #7fac3a;
$custom-light: #a7c576;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac3a",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 83.684,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68896,
    "c": 0.15061,
    "h": 128.3
  },
  "luminance": 0.34323
}

Semantic roles & 50–950 ramp

primary
#7FAC3A
secondary
#9A80C2
accent
#4FD985
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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