#4DAF40#4DAF40

#4DAF40 is a light, vivid green. Relative luminance 0.326; OKLCH L 67.2% C 0.175 H 141.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4DAF40
RGBrgb(77, 175, 64)
HSLhsl(113, 46%, 47%)
HSVhsv(113, 63%, 69%)
CMYKcmyk(56%, 0%, 63.4%, 31.4%)
CIE-LABlab(63.84, -50.18, 47.05)
CIE-LCHlch(63.84, 68.79, 136.85°)
OKLaboklab(67.15% -0.137 0.1094)
OKLCHoklch(67.15% 0.175 141.4)
XYZxyz(19.3150, 32.6063, 10.1253)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4DAF40 #A240AF
analogous
#85AF40 #4DAF40 #40AF6B
triadic
#4DAF40 #404DAF #AF404D
tetradic
#4DAF40 #4085AF #A240AF #AF6B40
square
#4DAF40 #4085AF #A240AF #AF6B40
split-complementary
#4DAF40 #6B40AF #AF4085
monochromatic
#26551F #398230 #4DAF40 #71C765 #9AD792

Accessibility & contrast

On white

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

On black

7.52
#4DAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4DAF40
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4DAF40#FFFFFF#000000##000000
##4DAF401.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4daf40;
/* rgb */ color: rgb(77, 175, 64);
/* oklch */ color: oklch(67.2% 0.175 141.4);
Tailwind
colors: {
  custom: {
    50: '#88c879',
    500: '#4daf40',
    950: '#000000',
  },
}
SCSS
$custom: #4daf40;
$custom-light: #88c879;
$custom-dark: #000000;
JSON
{
  "hex": "#4daf40",
  "rgb": {
    "r": 77,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 112.973,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67152,
    "c": 0.17537,
    "h": 141.4
  },
  "luminance": 0.32608
}

Semantic roles & 50–950 ramp

primary
#4DAF40
secondary
#BC88C3
accent
#52D6C7
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #4DAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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