#4FA240#4FA240

#4FA240 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.8% C 0.157 H 140.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4FA240
RGBrgb(79, 162, 64)
HSLhsl(111, 43%, 44%)
HSVhsv(111, 60%, 64%)
CMYKcmyk(51.2%, 0%, 60.5%, 36.5%)
CIE-LABlab(59.77, -44.51, 42.47)
CIE-LCHlch(59.77, 61.52, 136.34°)
OKLaboklab(63.83% -0.1218 0.0996)
OKLCHoklch(63.83% 0.157 140.7)
XYZxyz(17.0695, 27.8718, 9.3298)
Luminance0.2787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA240 #9340A2
analogous
#80A240 #4FA240 #40A262
triadic
#4FA240 #404FA2 #A2404F
tetradic
#4FA240 #4080A2 #9340A2 #A26240
square
#4FA240 #4080A2 #9340A2 #A26240
split-complementary
#4FA240 #6240A2 #A24080
monochromatic
#244A1D #3A762F #4FA240 #6EC05F #96D18B

Accessibility & contrast

On white

3.19
#4FA240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#4FA240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA240
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA240#FFFFFF#000000##000000
##4FA2401.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69436
Deuteranopia (green-blind)
#9B8D48
Tritanopia (blue-blind)
#469D8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #4fa240;
/* rgb */ color: rgb(79, 162, 64);
/* oklch */ color: oklch(63.8% 0.157 140.7);
Tailwind
colors: {
  custom: {
    50: '#87be78',
    500: '#4fa240',
    950: '#000000',
  },
}
SCSS
$custom: #4fa240;
$custom-light: #87be78;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa240",
  "rgb": {
    "r": 79,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 110.816,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63825,
    "c": 0.15734,
    "h": 140.7
  },
  "luminance": 0.27873
}

Semantic roles & 50–950 ramp

primary
#4FA240
secondary
#B382BC
accent
#55D3C0
background
#F8FBF7
surface
#F0F7ED
border
#CBD0C8
text
#0C1209
muted
#7D817B

Preview Lab

Preview with #4FA240

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

Preview Lab → · Contrast checker → · Palette generator →

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