#4FB940#4FB940

#4FB940 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.8% C 0.187 H 141.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4FB940
RGBrgb(79, 185, 64)
HSLhsl(113, 49%, 49%)
HSVhsv(113, 65%, 73%)
CMYKcmyk(57.3%, 0%, 65.4%, 27.5%)
CIE-LABlab(67.07, -53.43, 50.63)
CIE-LCHlch(67.07, 73.61, 136.54°)
OKLaboklab(69.83% -0.146 0.117)
OKLCHoklch(69.83% 0.187 141.3)
XYZxyz(21.4978, 36.7285, 10.8059)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB940 #AA40B9
analogous
#8CB940 #4FB940 #40B96E
triadic
#4FB940 #404FB9 #B9404F
tetradic
#4FB940 #408CB9 #AA40B9 #B96E40
square
#4FB940 #408CB9 #AA40B9 #B96E40
split-complementary
#4FB940 #6E40B9 #B9408C
monochromatic
#285E21 #3C8C30 #4FB940 #77CC6B #A0DB98

Accessibility & contrast

On white

2.52
#4FB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#4FB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB940
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB940#FFFFFF#000000##000000
##4FB9401.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#B0A04B
Tritanopia (blue-blind)
#40B3A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #4fb940;
/* rgb */ color: rgb(79, 185, 64);
/* oklch */ color: oklch(69.8% 0.187 141.3);
Tailwind
colors: {
  custom: {
    50: '#8bcf7a',
    500: '#4fb940',
    950: '#000000',
  },
}
SCSS
$custom: #4fb940;
$custom-light: #8bcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb940",
  "rgb": {
    "r": 79,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 112.562,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69834,
    "c": 0.18709,
    "h": 141.3
  },
  "luminance": 0.3673
}

Semantic roles & 50–950 ramp

primary
#4FB940
secondary
#C08EC7
accent
#50D8C7
background
#F9FCF7
surface
#F1F9EE
border
#CBD2C9
text
#0D140A
muted
#7E827C

Preview Lab

Preview with #4FB940

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

Preview Lab → · Contrast checker → · Palette generator →

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