#4FA540#4FA540

#4FA540 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.6% C 0.161 H 140.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4FA540
RGBrgb(79, 165, 64)
HSLhsl(111, 44%, 45%)
HSVhsv(111, 61%, 65%)
CMYKcmyk(52.1%, 0%, 61.2%, 35.3%)
CIE-LABlab(60.73, -45.72, 43.56)
CIE-LCHlch(60.73, 63.15, 136.38°)
OKLaboklab(64.61% -0.1251 0.102)
OKLCHoklch(64.61% 0.161 140.8)
XYZxyz(17.6042, 28.9413, 9.5081)
Luminance0.2894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA540 #9640A5
analogous
#82A540 #4FA540 #40A563
triadic
#4FA540 #404FA5 #A5404F
tetradic
#4FA540 #4082A5 #9640A5 #A56340
square
#4FA540 #4082A5 #9640A5 #A56340
split-complementary
#4FA540 #6340A5 #A54082
monochromatic
#254D1E #3A792F #4FA540 #6FC261 #97D38D

Accessibility & contrast

On white

3.09
#4FA540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#4FA540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA540
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA540#FFFFFF#000000##000000
##4FA5401.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99735
Deuteranopia (green-blind)
#9E9048
Tritanopia (blue-blind)
#45A08F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #4fa540;
/* rgb */ color: rgb(79, 165, 64);
/* oklch */ color: oklch(64.6% 0.161 140.8);
Tailwind
colors: {
  custom: {
    50: '#88c078',
    500: '#4fa540',
    950: '#000000',
  },
}
SCSS
$custom: #4fa540;
$custom-light: #88c078;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa540",
  "rgb": {
    "r": 79,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 111.089,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64612,
    "c": 0.16137,
    "h": 140.8
  },
  "luminance": 0.28943
}

Semantic roles & 50–950 ramp

primary
#4FA540
secondary
#B583BE
accent
#54D4C1
background
#F8FBF7
surface
#F0F7ED
border
#CBD0C8
text
#0C1209
muted
#7D817B

Preview Lab

Preview with #4FA540

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

Preview Lab → · Contrast checker → · Palette generator →

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