#40D959#40D959

#40D959 is a light, highly saturated green. Relative luminance 0.514; OKLCH L 78.0% C 0.213 H 145.7°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#40D959
RGBrgb(64, 217, 89)
HSLhsl(130, 67%, 55%)
HSVhsv(130, 71%, 85%)
CMYKcmyk(70.5%, 0%, 59%, 14.9%)
CIE-LABlab(76.94, -65.06, 50.76)
CIE-LCHlch(76.94, 82.51, 142.04°)
OKLaboklab(77.96% -0.1756 0.1197)
OKLCHoklch(77.96% 0.213 145.7)
XYZxyz(28.7284, 51.4338, 17.8629)
Luminance0.5144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D959 #D940C0
analogous
#73D940 #40D959 #40D9A6
triadic
#40D959 #5940D9 #D95940
tetradic
#40D959 #4073D9 #D940C0 #D9A640
square
#40D959 #4073D9 #D940C0 #D9A640
split-complementary
#40D959 #A640D9 #D94073
monochromatic
#1A842C #24B73C #40D959 #73E385 #A6EDB2

Accessibility & contrast

On white

1.86
#40D959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#40D959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D959
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D959#FFFFFF#000000##000000
##40D9591.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54C
Deuteranopia (green-blind)
#CAB963
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d959;
/* rgb */ color: rgb(64, 217, 89);
/* oklch */ color: oklch(78.0% 0.213 145.7);
Tailwind
colors: {
  custom: {
    50: '#89e68c',
    500: '#40d959',
    950: '#000000',
  },
}
SCSS
$custom: #40d959;
$custom-light: #89e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#40d959",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 129.804,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77958,
    "c": 0.21251,
    "h": 145.7
  },
  "luminance": 0.51437
}

Semantic roles & 50–950 ramp

primary
#40D959
secondary
#8B327C
accent
#3ECEEA
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D959

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

Preview Lab → · Contrast checker → · Palette generator →

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