#40D387#40D387

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

Color values

HEX#40D387
RGBrgb(64, 211, 135)
HSLhsl(149, 63%, 54%)
HSVhsv(149, 70%, 83%)
CMYKcmyk(69.7%, 0%, 36%, 17.3%)
CIE-LABlab(75.71, -55.73, 26.72)
CIE-LCHlch(75.71, 61.80, 154.39°)
OKLaboklab(77.15% -0.1508 0.067)
OKLCHoklch(77.15% 0.165 156)
XYZxyz(29.7790, 49.4244, 30.8874)
Luminance0.4943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D387 #D3408C
analogous
#43D340 #40D387 #40D3D1
triadic
#40D387 #8740D3 #D38740
tetradic
#40D387 #4043D3 #D3408C #D3D140
square
#40D387 #4043D3 #D3408C #D3D140
split-complementary
#40D387 #D140D3 #D34043
monochromatic
#1D7C4B #28AE69 #40D387 #72DEA6 #A3EAC6

Accessibility & contrast

On white

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

On black

10.89
#40D387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D387
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D387#FFFFFF#000000##000000
##40D3871.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d387;
/* rgb */ color: rgb(64, 211, 135);
/* oklch */ color: oklch(77.1% 0.165 156.0);
Tailwind
colors: {
  custom: {
    50: '#87e1aa',
    500: '#40d387',
    950: '#000000',
  },
}
SCSS
$custom: #40d387;
$custom-light: #87e1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40d387",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 135
  },
  "hsl": {
    "h": 148.98,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7715,
    "c": 0.16503,
    "h": 156
  },
  "luminance": 0.49428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D387

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

Preview Lab → · Contrast checker → · Palette generator →

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