#7FAC40#7FAC40

#7FAC40 is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 69.0% C 0.146 H 128.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7FAC40
RGBrgb(127, 172, 64)
HSLhsl(85, 46%, 46%)
HSVhsv(85, 63%, 67%)
CMYKcmyk(26.2%, 0%, 62.8%, 32.5%)
CIE-LABlab(65.27, -32.39, 49.29)
CIE-LCHlch(65.27, 58.98, 123.31°)
OKLaboklab(68.95% -0.0915 0.1136)
OKLCHoklch(68.95% 0.146 128.8)
XYZxyz(24.4302, 34.3867, 10.1997)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC40 #6D40AC
analogous
#ACA340 #7FAC40 #49AC40
triadic
#7FAC40 #407FAC #AC407F
tetradic
#7FAC40 #40ACA3 #6D40AC #AC4049
square
#7FAC40 #40ACA3 #6D40AC #AC4049
split-complementary
#7FAC40 #4049AC #A340AC
monochromatic
#3D531F #5E7F2F #7FAC40 #9DC564 #B9D691

Accessibility & contrast

On white

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

On black

7.88
#7FAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC40
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC40#FFFFFF#000000##000000
##7FAC401.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A033
Deuteranopia (green-blind)
#AE9D48
Tritanopia (blue-blind)
#83A595
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac40;
/* rgb */ color: rgb(127, 172, 64);
/* oklch */ color: oklch(69.0% 0.146 128.8);
Tailwind
colors: {
  custom: {
    50: '#a7c579',
    500: '#7fac40',
    950: '#000000',
  },
}
SCSS
$custom: #7fac40;
$custom-light: #a7c579;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac40",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 85,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.68954,
    "c": 0.1459,
    "h": 128.8
  },
  "luminance": 0.34387
}

Semantic roles & 50–950 ramp

primary
#7FAC40
secondary
#9F87C1
accent
#52D589
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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