#7FAC2F#7FAC2F

#7FAC2F is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.8% C 0.158 H 127.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7FAC2F
RGBrgb(127, 172, 47)
HSLhsl(82, 57%, 43%)
HSVhsv(82, 73%, 67%)
CMYKcmyk(26.2%, 0%, 72.7%, 32.5%)
CIE-LABlab(65.14, -33.63, 56.03)
CIE-LCHlch(65.14, 65.34, 120.97°)
OKLaboklab(68.81% -0.0964 0.1254)
OKLCHoklch(68.81% 0.158 127.5)
XYZxyz(24.0180, 34.2218, 8.0288)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC2F #5C2FAC
analogous
#AC9A2F #7FAC2F #40AC2F
triadic
#7FAC2F #2F7FAC #AC2F7F
tetradic
#7FAC2F #2FAC9A #5C2FAC #AC2F40
square
#7FAC2F #2FAC9A #5C2FAC #AC2F40
split-complementary
#7FAC2F #2F40AC #9A2FAC
monochromatic
#384C15 #5C7C22 #7FAC2F #9ECE4B #B8DB7B

Accessibility & contrast

On white

2.68
#7FAC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#7FAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC2F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC2F#FFFFFF#000000##000000
##7FAC2F1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#AF9D3A
Tritanopia (blue-blind)
#84A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac2f;
/* rgb */ color: rgb(127, 172, 47);
/* oklch */ color: oklch(68.8% 0.158 127.5);
Tailwind
colors: {
  custom: {
    50: '#a8c570',
    500: '#7fac2f',
    950: '#000000',
  },
}
SCSS
$custom: #7fac2f;
$custom-light: #a8c570;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac2f",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 81.6,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68807,
    "c": 0.15819,
    "h": 127.5
  },
  "luminance": 0.34222
}

Semantic roles & 50–950 ramp

primary
#7FAC2F
secondary
#9074C3
accent
#47E07E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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