#40D950#40D950

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

Color values

HEX#40D950
RGBrgb(64, 217, 80)
HSLhsl(126, 67%, 55%)
HSVhsv(126, 71%, 85%)
CMYKcmyk(70.5%, 0%, 63.1%, 14.9%)
CIE-LABlab(76.86, -66.07, 54.57)
CIE-LCHlch(76.86, 85.70, 140.45°)
OKLaboklab(77.86% -0.1787 0.1271)
OKLCHoklch(77.86% 0.219 144.6)
XYZxyz(28.3733, 51.2917, 15.9928)
Luminance0.5130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D950 #D940C9
analogous
#7CD940 #40D950 #40D99D
triadic
#40D950 #5040D9 #D95040
tetradic
#40D950 #407CD9 #D940C9 #D99D40
square
#40D950 #407CD9 #D940C9 #D99D40
split-complementary
#40D950 #9D40D9 #D9407C
monochromatic
#1A8425 #24B734 #40D950 #73E37F #A6EDAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D950#FFFFFF#000000##000000
##40D9501.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)
#DDC540
Deuteranopia (green-blind)
#CBB95C
Tritanopia (blue-blind)
#00D3BC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d950;
/* rgb */ color: rgb(64, 217, 80);
/* oklch */ color: oklch(77.9% 0.219 144.6);
Tailwind
colors: {
  custom: {
    50: '#8ae686',
    500: '#40d950',
    950: '#000000',
  },
}
SCSS
$custom: #40d950;
$custom-light: #8ae686;
$custom-dark: #000000;
JSON
{
  "hex": "#40d950",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 126.275,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77859,
    "c": 0.21927,
    "h": 144.6
  },
  "luminance": 0.51295
}

Semantic roles & 50–950 ramp

primary
#40D950
secondary
#8B3282
accent
#3ED8EA
background
#FCFEFC
surface
#F4FDF3
border
#CED5CD
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #40D950

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

Preview Lab → · Contrast checker → · Palette generator →

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