#7FAC42#7FAC42

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

Color values

HEX#7FAC42
RGBrgb(127, 172, 66)
HSLhsl(85, 45%, 47%)
HSVhsv(85, 62%, 67%)
CMYKcmyk(26.2%, 0%, 61.6%, 32.5%)
CIE-LABlab(65.29, -32.22, 48.42)
CIE-LCHlch(65.29, 58.16, 123.64°)
OKLaboklab(68.97% -0.0909 0.112)
OKLCHoklch(68.97% 0.144 129)
XYZxyz(24.4882, 34.4099, 10.5048)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC42 #6F42AC
analogous
#ACA442 #7FAC42 #4AAC42
triadic
#7FAC42 #427FAC #AC427F
tetradic
#7FAC42 #42ACA4 #6F42AC #AC424A
square
#7FAC42 #42ACA4 #6F42AC #AC424A
split-complementary
#7FAC42 #424AAC #A442AC
monochromatic
#3E5420 #5E8031 #7FAC42 #9DC567 #B9D693

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAC42#FFFFFF#000000##000000
##7FAC421.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A136
Deuteranopia (green-blind)
#AE9D4A
Tritanopia (blue-blind)
#82A596
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac42;
/* rgb */ color: rgb(127, 172, 66);
/* oklch */ color: oklch(69.0% 0.144 129.0);
Tailwind
colors: {
  custom: {
    50: '#a7c57b',
    500: '#7fac42',
    950: '#000000',
  },
}
SCSS
$custom: #7fac42;
$custom-light: #a7c57b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac42",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 85.472,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.68975,
    "c": 0.14425,
    "h": 129
  },
  "luminance": 0.3441
}

Semantic roles & 50–950 ramp

primary
#7FAC42
secondary
#A189C1
accent
#54D48A
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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