#4FB040#4FB040

#4FB040 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.5% C 0.176 H 141.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4FB040
RGBrgb(79, 176, 64)
HSLhsl(112, 47%, 47%)
HSVhsv(112, 64%, 69%)
CMYKcmyk(55.1%, 0%, 63.6%, 31%)
CIE-LABlab(64.23, -50.03, 47.49)
CIE-LCHlch(64.23, 68.99, 136.49°)
OKLaboklab(67.49% -0.1368 0.1104)
OKLCHoklch(67.49% 0.176 141.1)
XYZxyz(19.6743, 33.0815, 10.1981)
Luminance0.3308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB040 #A140B0
analogous
#87B040 #4FB040 #40B069
triadic
#4FB040 #404FB0 #B0404F
tetradic
#4FB040 #4087B0 #A140B0 #B06940
square
#4FB040 #4087B0 #A140B0 #B06940
split-complementary
#4FB040 #6940B0 #B04087
monochromatic
#27561F #3B8330 #4FB040 #73C766 #9CD893

Accessibility & contrast

On white

2.76
#4FB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#4FB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB040
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB040#FFFFFF#000000##000000
##4FB0401.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A133
Deuteranopia (green-blind)
#A89949
Tritanopia (blue-blind)
#43AB98
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #4fb040;
/* rgb */ color: rgb(79, 176, 64);
/* oklch */ color: oklch(67.5% 0.176 141.1);
Tailwind
colors: {
  custom: {
    50: '#8ac879',
    500: '#4fb040',
    950: '#000000',
  },
}
SCSS
$custom: #4fb040;
$custom-light: #8ac879;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb040",
  "rgb": {
    "r": 79,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 111.964,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67489,
    "c": 0.17574,
    "h": 141.1
  },
  "luminance": 0.33083
}

Semantic roles & 50–950 ramp

primary
#4FB040
secondary
#BB89C3
accent
#51D6C5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #4FB040

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

Preview Lab → · Contrast checker → · Palette generator →

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