#40C74F#40C74F

#40C74F is a light, vivid green. Relative luminance 0.425; OKLCH L 73.2% C 0.199 H 144.9°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#40C74F
RGBrgb(64, 199, 79)
HSLhsl(127, 55%, 52%)
HSVhsv(127, 68%, 78%)
CMYKcmyk(67.8%, 0%, 60.3%, 22%)
CIE-LABlab(71.21, -60.12, 48.62)
CIE-LCHlch(71.21, 77.32, 141.04°)
OKLaboklab(73.18% -0.1626 0.1143)
OKLCHoklch(73.18% 0.199 144.9)
XYZxyz(23.9475, 42.4988, 14.3367)
Luminance0.4250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C74F #C740B8
analogous
#75C740 #40C74F #40C793
triadic
#40C74F #4F40C7 #C74F40
tetradic
#40C74F #4075C7 #C740B8 #C79340
square
#40C74F #4075C7 #C740B8 #C79340
split-complementary
#40C74F #9340C7 #C74075
monochromatic
#206D28 #2E9C3A #40C74F #6FD57B #9FE3A6

Accessibility & contrast

On white

2.21
#40C74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#40C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C74F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C74F#FFFFFF#000000##000000
##40C74F1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB542
Deuteranopia (green-blind)
#BAAA59
Tritanopia (blue-blind)
#13C2AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c74f;
/* rgb */ color: rgb(64, 199, 79);
/* oklch */ color: oklch(73.2% 0.199 144.9);
Tailwind
colors: {
  custom: {
    50: '#86d984',
    500: '#40c74f',
    950: '#000000',
  },
}
SCSS
$custom: #40c74f;
$custom-light: #86d984;
$custom-dark: #000000;
JSON
{
  "hex": "#40c74f",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 126.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73184,
    "c": 0.19874,
    "h": 144.9
  },
  "luminance": 0.42501
}

Semantic roles & 50–950 ramp

primary
#40C74F
secondary
#CF94C8
accent
#4ACEDE
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #40C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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