#40D74F#40D74F

#40D74F is a light, highly saturated green. Relative luminance 0.503; OKLCH L 77.3% C 0.218 H 144.5°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#40D74F
RGBrgb(64, 215, 79)
HSLhsl(126, 65%, 55%)
HSVhsv(126, 70%, 84%)
CMYKcmyk(70.2%, 0%, 63.3%, 15.7%)
CIE-LABlab(76.22, -65.52, 54.29)
CIE-LCHlch(76.22, 85.09, 140.36°)
OKLaboklab(77.33% -0.1772 0.1264)
OKLCHoklch(77.33% 0.218 144.5)
XYZxyz(27.8243, 50.2523, 15.6289)
Luminance0.5026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D74F #D740C8
analogous
#7DD740 #40D74F #40D79A
triadic
#40D74F #4F40D7 #D74F40
tetradic
#40D74F #407DD7 #D740C8 #D79A40
square
#40D74F #407DD7 #D740C8 #D79A40
split-complementary
#40D74F #9A40D7 #D7407D
monochromatic
#1B8125 #26B434 #40D74F #73E27E #A5ECAC

Accessibility & contrast

On white

1.90
#40D74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#40D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D74F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D74F#FFFFFF#000000##000000
##40D74F1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33F
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#00D1BA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d74f;
/* rgb */ color: rgb(64, 215, 79);
/* oklch */ color: oklch(77.3% 0.218 144.5);
Tailwind
colors: {
  custom: {
    50: '#89e585',
    500: '#40d74f',
    950: '#000000',
  },
}
SCSS
$custom: #40d74f;
$custom-light: #89e585;
$custom-dark: #000000;
JSON
{
  "hex": "#40d74f",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 125.96,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77333,
    "c": 0.21768,
    "h": 144.5
  },
  "luminance": 0.50255
}

Semantic roles & 50–950 ramp

primary
#40D74F
secondary
#883380
accent
#3FD8E8
background
#FCFEFB
surface
#F4FCF2
border
#CED5CC
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #40D74F

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

Preview Lab → · Contrast checker → · Palette generator →

#40D74F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva