#4FAC40#4FAC40

#4FAC40 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.4% C 0.171 H 141.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4FAC40
RGBrgb(79, 172, 64)
HSLhsl(112, 46%, 46%)
HSVhsv(112, 63%, 67%)
CMYKcmyk(54.1%, 0%, 62.8%, 32.5%)
CIE-LABlab(62.96, -48.49, 46.08)
CIE-LCHlch(62.96, 66.89, 136.46°)
OKLaboklab(66.44% -0.1326 0.1074)
OKLCHoklch(66.44% 0.171 141)
XYZxyz(18.9015, 31.5359, 9.9405)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAC40 #9D40AC
analogous
#85AC40 #4FAC40 #40AC67
triadic
#4FAC40 #404FAC #AC404F
tetradic
#4FAC40 #4085AC #9D40AC #AC6740
square
#4FAC40 #4085AC #9D40AC #AC6740
split-complementary
#4FAC40 #6740AC #AC4085
monochromatic
#26531F #3B7F2F #4FAC40 #71C564 #9AD691

Accessibility & contrast

On white

2.87
#4FAC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#4FAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAC40
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAC40#FFFFFF#000000##000000
##4FAC401.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D34
Deuteranopia (green-blind)
#A49549
Tritanopia (blue-blind)
#44A795
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #4fac40;
/* rgb */ color: rgb(79, 172, 64);
/* oklch */ color: oklch(66.4% 0.171 141.0);
Tailwind
colors: {
  custom: {
    50: '#89c579',
    500: '#4fac40',
    950: '#000000',
  },
}
SCSS
$custom: #4fac40;
$custom-light: #89c579;
$custom-dark: #000000;
JSON
{
  "hex": "#4fac40",
  "rgb": {
    "r": 79,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 111.667,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66444,
    "c": 0.17058,
    "h": 141
  },
  "luminance": 0.31537
}

Semantic roles & 50–950 ramp

primary
#4FAC40
secondary
#B987C1
accent
#52D5C3
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #4FAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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