#40D386#40D386

#40D386 is a light, vivid green. Relative luminance 0.494; OKLCH L 77.1% C 0.166 H 155.7°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#40D386
RGBrgb(64, 211, 134)
HSLhsl(149, 63%, 54%)
HSVhsv(149, 70%, 83%)
CMYKcmyk(69.7%, 0%, 36.5%, 17.3%)
CIE-LABlab(75.70, -55.92, 27.21)
CIE-LCHlch(75.70, 62.19, 154.05°)
OKLaboklab(77.13% -0.1512 0.0682)
OKLCHoklch(77.13% 0.166 155.7)
XYZxyz(29.7089, 49.3964, 30.5184)
Luminance0.4940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D386 #D3408D
analogous
#44D340 #40D386 #40D3CF
triadic
#40D386 #8640D3 #D38640
tetradic
#40D386 #4044D3 #D3408D #D3CF40
square
#40D386 #4044D3 #D3408D #D3CF40
split-complementary
#40D386 #CF40D3 #D34044
monochromatic
#1D7C4A #28AE68 #40D386 #72DEA6 #A3EAC5

Accessibility & contrast

On white

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

On black

10.88
#40D386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D386
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D386#FFFFFF#000000##000000
##40D3861.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C281
Deuteranopia (green-blind)
#C0B58B
Tritanopia (blue-blind)
#00D1BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d386;
/* rgb */ color: rgb(64, 211, 134);
/* oklch */ color: oklch(77.1% 0.166 155.7);
Tailwind
colors: {
  custom: {
    50: '#87e1aa',
    500: '#40d386',
    950: '#000000',
  },
}
SCSS
$custom: #40d386;
$custom-light: #87e1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40d386",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 134
  },
  "hsl": {
    "h": 148.571,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7713,
    "c": 0.16592,
    "h": 155.7
  },
  "luminance": 0.494
}

Semantic roles & 50–950 ramp

primary
#40D386
secondary
#D798B9
accent
#4298E6
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D1510
muted
#7E837F

Preview Lab

Preview with #40D386

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

Preview Lab → · Contrast checker → · Palette generator →

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