#40D789#40D789

#40D789 is a light, vivid green. Relative luminance 0.515; OKLCH L 78.2% C 0.168 H 155.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#40D789
RGBrgb(64, 215, 137)
HSLhsl(149, 65%, 55%)
HSVhsv(149, 70%, 84%)
CMYKcmyk(70.2%, 0%, 36.3%, 15.7%)
CIE-LABlab(76.98, -56.86, 27.37)
CIE-LCHlch(76.98, 63.10, 154.29°)
OKLaboklab(78.2% -0.1538 0.0687)
OKLCHoklch(78.2% 0.168 155.9)
XYZxyz(30.9272, 51.4935, 31.9714)
Luminance0.5150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D789 #D7408E
analogous
#42D740 #40D789 #40D7D5
triadic
#40D789 #8940D7 #D78940
tetradic
#40D789 #4042D7 #D7408E #D7D540
square
#40D789 #4042D7 #D7408E #D7D540
split-complementary
#40D789 #D540D7 #D74042
monochromatic
#1B814D #26B46B #40D789 #73E2A8 #A5ECC8

Accessibility & contrast

On white

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

On black

11.30
#40D789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D789
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D789#FFFFFF#000000##000000
##40D7891.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C684
Deuteranopia (green-blind)
#C3B98E
Tritanopia (blue-blind)
#00D5C3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d789;
/* rgb */ color: rgb(64, 215, 137);
/* oklch */ color: oklch(78.2% 0.168 155.9);
Tailwind
colors: {
  custom: {
    50: '#88e4ac',
    500: '#40d789',
    950: '#000000',
  },
}
SCSS
$custom: #40d789;
$custom-light: #88e4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40d789",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 137
  },
  "hsl": {
    "h": 149.007,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.782,
    "c": 0.16843,
    "h": 155.9
  },
  "luminance": 0.51497
}

Semantic roles & 50–950 ramp

primary
#40D789
secondary
#88335F
accent
#3F97E8
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D789

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

Preview Lab → · Contrast checker → · Palette generator →

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