#40D487#40D487

#40D487 is a light, vivid green. Relative luminance 0.499; OKLCH L 77.4% C 0.166 H 155.9°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#40D487
RGBrgb(64, 212, 135)
HSLhsl(149, 63%, 54%)
HSVhsv(149, 70%, 83%)
CMYKcmyk(69.8%, 0%, 36.3%, 16.9%)
CIE-LABlab(76.02, -56.11, 27.13)
CIE-LCHlch(76.02, 62.32, 154.20°)
OKLaboklab(77.4% -0.1518 0.068)
OKLCHoklch(77.4% 0.166 155.9)
XYZxyz(30.0282, 49.9228, 30.9705)
Luminance0.4993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D487 #D4408D
analogous
#43D440 #40D487 #40D4D1
triadic
#40D487 #8740D4 #D48740
tetradic
#40D487 #4043D4 #D4408D #D4D140
square
#40D487 #4043D4 #D4408D #D4D140
split-complementary
#40D487 #D140D4 #D44043
monochromatic
#1C7D4B #27AF69 #40D487 #72DFA6 #A4EAC6

Accessibility & contrast

On white

1.91
#40D487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#40D487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D487
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D487#FFFFFF#000000##000000
##40D4871.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C382
Deuteranopia (green-blind)
#C1B68C
Tritanopia (blue-blind)
#00D2C0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d487;
/* rgb */ color: rgb(64, 212, 135);
/* oklch */ color: oklch(77.4% 0.166 155.9);
Tailwind
colors: {
  custom: {
    50: '#87e2aa',
    500: '#40d487',
    950: '#000000',
  },
}
SCSS
$custom: #40d487;
$custom-light: #87e2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40d487",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 148.784,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77403,
    "c": 0.16633,
    "h": 155.9
  },
  "luminance": 0.49926
}

Semantic roles & 50–950 ramp

primary
#40D487
secondary
#D798B9
accent
#4297E6
background
#F9FEFA
surface
#F1FCF4
border
#CBD5CE
text
#0D1510
muted
#7E847F

Preview Lab

Preview with #40D487

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

Preview Lab → · Contrast checker → · Palette generator →

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