#7FAC4F#7FAC4F

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

Color values

HEX#7FAC4F
RGBrgb(127, 172, 79)
HSLhsl(89, 37%, 49%)
HSVhsv(89, 54%, 67%)
CMYKcmyk(26.2%, 0%, 54.1%, 32.5%)
CIE-LABlab(65.42, -30.95, 42.51)
CIE-LCHlch(65.42, 52.59, 126.06°)
OKLaboklab(69.13% -0.0863 0.1007)
OKLCHoklch(69.13% 0.133 130.6)
XYZxyz(24.9159, 34.5810, 12.7577)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC4F #7C4FAC
analogous
#ACAB4F #7FAC4F #51AC4F
triadic
#7FAC4F #4F7FAC #AC4F7F
tetradic
#7FAC4F #4FACAB #7C4FAC #AC4F51
square
#7FAC4F #4FACAB #7C4FAC #AC4F51
split-complementary
#7FAC4F #4F51AC #AB4FAC
monochromatic
#415828 #60823C #7FAC4F #9DC177 #BCD4A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAC4F#FFFFFF#000000##000000
##7FAC4F1.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)
#B3A146
Deuteranopia (green-blind)
#AC9E55
Tritanopia (blue-blind)
#81A697
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7fac4f;
/* rgb */ color: rgb(127, 172, 79);
/* oklch */ color: oklch(69.1% 0.133 130.6);
Tailwind
colors: {
  custom: {
    50: '#a6c583',
    500: '#7fac4f',
    950: '#000000',
  },
}
SCSS
$custom: #7fac4f;
$custom-light: #a6c583;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac4f",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 79
  },
  "hsl": {
    "h": 89.032,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69127,
    "c": 0.13258,
    "h": 130.6
  },
  "luminance": 0.34582
}

Semantic roles & 50–950 ramp

primary
#7FAC4F
secondary
#AB96C1
accent
#5BCD92
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FAC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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