#4FB240#4FB240

#4FB240 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.0% C 0.178 H 141.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4FB240
RGBrgb(79, 178, 64)
HSLhsl(112, 47%, 47%)
HSVhsv(112, 64%, 70%)
CMYKcmyk(55.6%, 0%, 64%, 30.2%)
CIE-LABlab(64.86, -50.80, 48.20)
CIE-LCHlch(64.86, 70.03, 136.50°)
OKLaboklab(68.01% -0.1388 0.1119)
OKLCHoklch(68.01% 0.178 141.1)
XYZxyz(20.0693, 33.8715, 10.3298)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB240 #A340B2
analogous
#88B240 #4FB240 #40B26A
triadic
#4FB240 #404FB2 #B2404F
tetradic
#4FB240 #4088B2 #A340B2 #B26A40
square
#4FB240 #4088B2 #A340B2 #B26A40
split-complementary
#4FB240 #6A40B2 #B24088
monochromatic
#275820 #3B8530 #4FB240 #74C867 #9DD894

Accessibility & contrast

On white

2.70
#4FB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#4FB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB240
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB240#FFFFFF#000000##000000
##4FB2401.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A332
Deuteranopia (green-blind)
#AA9A4A
Tritanopia (blue-blind)
#42AD9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4fb240;
/* rgb */ color: rgb(79, 178, 64);
/* oklch */ color: oklch(68.0% 0.178 141.1);
Tailwind
colors: {
  custom: {
    50: '#8aca7a',
    500: '#4fb240',
    950: '#000000',
  },
}
SCSS
$custom: #4fb240;
$custom-light: #8aca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb240",
  "rgb": {
    "r": 79,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 112.105,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68011,
    "c": 0.17829,
    "h": 141.1
  },
  "luminance": 0.33873
}

Semantic roles & 50–950 ramp

primary
#4FB240
secondary
#BC8AC4
accent
#51D7C5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0D1309
muted
#7D827B

Preview Lab

Preview with #4FB240

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

Preview Lab → · Contrast checker → · Palette generator →

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