#40D94F#40D94F

#40D94F is a light, highly saturated green. Relative luminance 0.513; OKLCH L 77.8% C 0.220 H 144.5°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#40D94F
RGBrgb(64, 217, 79)
HSLhsl(126, 67%, 55%)
HSVhsv(126, 71%, 85%)
CMYKcmyk(70.5%, 0%, 63.6%, 14.9%)
CIE-LABlab(76.85, -66.18, 54.98)
CIE-LCHlch(76.85, 86.04, 140.28°)
OKLaboklab(77.85% -0.179 0.1279)
OKLCHoklch(77.85% 0.22 144.5)
XYZxyz(28.3366, 51.2771, 15.7997)
Luminance0.5128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D94F #D940CA
analogous
#7ED940 #40D94F #40D99B
triadic
#40D94F #4F40D9 #D94F40
tetradic
#40D94F #407ED9 #D940CA #D99B40
square
#40D94F #407ED9 #D940CA #D99B40
split-complementary
#40D94F #9B40D9 #D9407E
monochromatic
#1A8425 #24B733 #40D94F #73E37E #A6EDAD

Accessibility & contrast

On white

1.87
#40D94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#40D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D94F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D94F#FFFFFF#000000##000000
##40D94F1.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53E
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#00D3BC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d94f;
/* rgb */ color: rgb(64, 217, 79);
/* oklch */ color: oklch(77.8% 0.220 144.5);
Tailwind
colors: {
  custom: {
    50: '#8ae686',
    500: '#40d94f',
    950: '#000000',
  },
}
SCSS
$custom: #40d94f;
$custom-light: #8ae686;
$custom-dark: #000000;
JSON
{
  "hex": "#40d94f",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 125.882,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77849,
    "c": 0.21999,
    "h": 144.5
  },
  "luminance": 0.5128
}

Semantic roles & 50–950 ramp

primary
#40D94F
secondary
#8B3282
accent
#3ED9EA
background
#FCFEFB
surface
#F4FDF2
border
#CED5CC
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #40D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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