#40C74E#40C74E

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

Color values

HEX#40C74E
RGBrgb(64, 199, 78)
HSLhsl(126, 55%, 52%)
HSVhsv(126, 68%, 78%)
CMYKcmyk(67.8%, 0%, 60.8%, 22%)
CIE-LABlab(71.20, -60.24, 49.05)
CIE-LCHlch(71.20, 77.68, 140.84°)
OKLaboklab(73.17% -0.1629 0.1151)
OKLCHoklch(73.17% 0.2 144.8)
XYZxyz(23.9114, 42.4843, 14.1464)
Luminance0.4249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C74E #C740B9
analogous
#76C740 #40C74E #40C792
triadic
#40C74E #4E40C7 #C74E40
tetradic
#40C74E #4076C7 #C740B9 #C79240
square
#40C74E #4076C7 #C740B9 #C79240
split-complementary
#40C74E #9240C7 #C74076
monochromatic
#206D28 #2E9C39 #40C74E #6FD57A #9FE3A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C74E#FFFFFF#000000##000000
##40C74E1.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)
#CAB541
Deuteranopia (green-blind)
#BAAA58
Tritanopia (blue-blind)
#14C2AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c74e;
/* rgb */ color: rgb(64, 199, 78);
/* oklch */ color: oklch(73.2% 0.200 144.8);
Tailwind
colors: {
  custom: {
    50: '#86d984',
    500: '#40c74e',
    950: '#000000',
  },
}
SCSS
$custom: #40c74e;
$custom-light: #86d984;
$custom-dark: #000000;
JSON
{
  "hex": "#40c74e",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 126.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73172,
    "c": 0.19951,
    "h": 144.8
  },
  "luminance": 0.42487
}

Semantic roles & 50–950 ramp

primary
#40C74E
secondary
#CF94C9
accent
#4ACFDE
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #40C74E

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

Preview Lab → · Contrast checker → · Palette generator →

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