#40D389#40D389

#40D389 is a light, vivid green. Relative luminance 0.495; OKLCH L 77.2% C 0.163 H 156.7°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#40D389
RGBrgb(64, 211, 137)
HSLhsl(150, 63%, 54%)
HSVhsv(150, 70%, 83%)
CMYKcmyk(69.7%, 0%, 35.1%, 17.3%)
CIE-LABlab(75.75, -55.34, 25.72)
CIE-LCHlch(75.75, 61.03, 155.07°)
OKLaboklab(77.19% -0.1499 0.0647)
OKLCHoklch(77.19% 0.163 156.7)
XYZxyz(29.9211, 49.4813, 31.6360)
Luminance0.4949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D389 #D3408A
analogous
#41D340 #40D389 #40D3D3
triadic
#40D389 #8940D3 #D38940
tetradic
#40D389 #4041D3 #D3408A #D3D340
square
#40D389 #4041D3 #D3408A #D3D340
split-complementary
#40D389 #D340D3 #D34041
monochromatic
#1D7C4C #28AE6A #40D389 #72DEA8 #A3EAC6

Accessibility & contrast

On white

1.93
#40D389 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#40D389 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D389
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D389#FFFFFF#000000##000000
##40D3891.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C384
Deuteranopia (green-blind)
#BFB58E
Tritanopia (blue-blind)
#00D1C0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d389;
/* rgb */ color: rgb(64, 211, 137);
/* oklch */ color: oklch(77.2% 0.163 156.7);
Tailwind
colors: {
  custom: {
    50: '#87e1ac',
    500: '#40d389',
    950: '#000000',
  },
}
SCSS
$custom: #40d389;
$custom-light: #87e1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40d389",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 137
  },
  "hsl": {
    "h": 149.796,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7719,
    "c": 0.16325,
    "h": 156.7
  },
  "luminance": 0.49485
}

Semantic roles & 50–950 ramp

primary
#40D389
secondary
#D798B8
accent
#4294E6
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D1510
muted
#7E837F

Preview Lab

Preview with #40D389

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

Preview Lab → · Contrast checker → · Palette generator →

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