#40D889#40D889

#40D889 is a light, vivid green. Relative luminance 0.520; OKLCH L 78.5% C 0.170 H 155.8°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#40D889
RGBrgb(64, 216, 137)
HSLhsl(149, 66%, 55%)
HSVhsv(149, 70%, 85%)
CMYKcmyk(70.4%, 0%, 36.6%, 15.3%)
CIE-LABlab(77.28, -57.24, 27.78)
CIE-LCHlch(77.28, 63.62, 154.11°)
OKLaboklab(78.45% -0.1548 0.0696)
OKLCHoklch(78.45% 0.17 155.8)
XYZxyz(31.1827, 52.0043, 32.0565)
Luminance0.5201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D889 #D8408F
analogous
#43D840 #40D889 #40D8D5
triadic
#40D889 #8940D8 #D88940
tetradic
#40D889 #4043D8 #D8408F #D8D540
square
#40D889 #4043D8 #D8408F #D8D540
split-complementary
#40D889 #D540D8 #D84043
monochromatic
#1B834D #25B66B #40D889 #73E2A8 #A6EDC8

Accessibility & contrast

On white

1.84
#40D889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#40D889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D889
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D889#FFFFFF#000000##000000
##40D8891.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C784
Deuteranopia (green-blind)
#C4B98E
Tritanopia (blue-blind)
#00D6C4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d889;
/* rgb */ color: rgb(64, 216, 137);
/* oklch */ color: oklch(78.5% 0.170 155.8);
Tailwind
colors: {
  custom: {
    50: '#88e5ac',
    500: '#40d889',
    950: '#000000',
  },
}
SCSS
$custom: #40d889;
$custom-light: #88e5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40d889",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 137
  },
  "hsl": {
    "h": 148.816,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78453,
    "c": 0.16971,
    "h": 155.8
  },
  "luminance": 0.52008
}

Semantic roles & 50–950 ramp

primary
#40D889
secondary
#8A3360
accent
#3F97E9
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D889

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

Preview Lab → · Contrast checker → · Palette generator →

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