#4FAF40#4FAF40

#4FAF40 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.2% C 0.174 H 141.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4FAF40
RGBrgb(79, 175, 64)
HSLhsl(112, 46%, 47%)
HSVhsv(112, 63%, 69%)
CMYKcmyk(54.9%, 0%, 63.4%, 31.4%)
CIE-LABlab(63.91, -49.65, 47.14)
CIE-LCHlch(63.91, 68.46, 136.48°)
OKLaboklab(67.23% -0.1357 0.1096)
OKLCHoklch(67.23% 0.174 141.1)
XYZxyz(19.4789, 32.6908, 10.1330)
Luminance0.3269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAF40 #A040AF
analogous
#87AF40 #4FAF40 #40AF69
triadic
#4FAF40 #404FAF #AF404F
tetradic
#4FAF40 #4087AF #A040AF #AF6940
square
#4FAF40 #4087AF #A040AF #AF6940
split-complementary
#4FAF40 #6940AF #AF4087
monochromatic
#27551F #3B8230 #4FAF40 #73C765 #9CD792

Accessibility & contrast

On white

2.79
#4FAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#4FAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAF40
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAF40#FFFFFF#000000##000000
##4FAF401.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A033
Deuteranopia (green-blind)
#A79849
Tritanopia (blue-blind)
#43AA98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #4faf40;
/* rgb */ color: rgb(79, 175, 64);
/* oklch */ color: oklch(67.2% 0.174 141.1);
Tailwind
colors: {
  custom: {
    50: '#89c879',
    500: '#4faf40',
    950: '#000000',
  },
}
SCSS
$custom: #4faf40;
$custom-light: #89c879;
$custom-dark: #000000;
JSON
{
  "hex": "#4faf40",
  "rgb": {
    "r": 79,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 111.892,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.17445,
    "h": 141.1
  },
  "luminance": 0.32692
}

Semantic roles & 50–950 ramp

primary
#4FAF40
secondary
#BB88C3
accent
#52D6C4
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #4FAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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