#4FB540#4FB540

#4FB540 is a light, vivid green. Relative luminance 0.351; OKLCH L 68.8% C 0.182 H 141.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4FB540
RGBrgb(79, 181, 64)
HSLhsl(112, 48%, 48%)
HSVhsv(112, 65%, 71%)
CMYKcmyk(56.4%, 0%, 64.6%, 29%)
CIE-LABlab(65.81, -51.93, 49.25)
CIE-LCHlch(65.81, 71.57, 136.52°)
OKLaboklab(68.79% -0.1419 0.1141)
OKLCHoklch(68.79% 0.182 141.2)
XYZxyz(20.6728, 35.0784, 10.5309)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB540 #A640B5
analogous
#89B540 #4FB540 #40B56C
triadic
#4FB540 #404FB5 #B5404F
tetradic
#4FB540 #4089B5 #A640B5 #B56C40
square
#4FB540 #4089B5 #A640B5 #B56C40
split-complementary
#4FB540 #6C40B5 #B54089
monochromatic
#285B20 #3B8830 #4FB540 #75CA68 #9EDA96

Accessibility & contrast

On white

2.62
#4FB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#4FB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB540
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB540#FFFFFF#000000##000000
##4FB5401.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#AC9D4A
Tritanopia (blue-blind)
#41B09D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #4fb540;
/* rgb */ color: rgb(79, 181, 64);
/* oklch */ color: oklch(68.8% 0.182 141.2);
Tailwind
colors: {
  custom: {
    50: '#8acc7a',
    500: '#4fb540',
    950: '#000000',
  },
}
SCSS
$custom: #4fb540;
$custom-light: #8acc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb540",
  "rgb": {
    "r": 79,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 112.308,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68793,
    "c": 0.18208,
    "h": 141.2
  },
  "luminance": 0.3508
}

Semantic roles & 50–950 ramp

primary
#4FB540
secondary
#BE8BC5
accent
#50D7C6
background
#F9FCF7
surface
#F1F9EE
border
#CBD2C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #4FB540

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

Preview Lab → · Contrast checker → · Palette generator →

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