#4FAB40#4FAB40

#4FAB40 is a light, vivid green. Relative luminance 0.312; OKLCH L 66.2% C 0.169 H 141.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4FAB40
RGBrgb(79, 171, 64)
HSLhsl(112, 46%, 46%)
HSVhsv(112, 63%, 67%)
CMYKcmyk(53.8%, 0%, 62.6%, 32.9%)
CIE-LABlab(62.64, -48.10, 45.72)
CIE-LCHlch(62.64, 66.36, 136.45°)
OKLaboklab(66.18% -0.1315 0.1066)
OKLCHoklch(66.18% 0.169 141)
XYZxyz(18.7119, 31.1567, 9.8773)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAB40 #9C40AB
analogous
#84AB40 #4FAB40 #40AB66
triadic
#4FAB40 #404FAB #AB404F
tetradic
#4FAB40 #4084AB #9C40AB #AB6640
square
#4FAB40 #4084AB #9C40AB #AB6640
split-complementary
#4FAB40 #6640AB #AB4084
monochromatic
#26521F #3A7E2F #4FAB40 #71C563 #9AD590

Accessibility & contrast

On white

2.90
#4FAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#4FAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAB40
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAB40#FFFFFF#000000##000000
##4FAB401.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#A39449
Tritanopia (blue-blind)
#44A694
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #4fab40;
/* rgb */ color: rgb(79, 171, 64);
/* oklch */ color: oklch(66.2% 0.169 141.0);
Tailwind
colors: {
  custom: {
    50: '#89c579',
    500: '#4fab40',
    950: '#000000',
  },
}
SCSS
$custom: #4fab40;
$custom-light: #89c579;
$custom-dark: #000000;
JSON
{
  "hex": "#4fab40",
  "rgb": {
    "r": 79,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 111.589,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66182,
    "c": 0.16927,
    "h": 141
  },
  "luminance": 0.31158
}

Semantic roles & 50–950 ramp

primary
#4FAB40
secondary
#B886C1
accent
#53D5C3
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #4FAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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