#40D486#40D486

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

Color values

HEX#40D486
RGBrgb(64, 212, 134)
HSLhsl(148, 63%, 54%)
HSVhsv(148, 70%, 83%)
CMYKcmyk(69.8%, 0%, 36.8%, 16.9%)
CIE-LABlab(76.00, -56.30, 27.62)
CIE-LCHlch(76.00, 62.71, 153.86°)
OKLaboklab(77.38% -0.1522 0.0692)
OKLCHoklch(77.38% 0.167 155.6)
XYZxyz(29.9581, 49.8948, 30.6014)
Luminance0.4990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D486 #D4408E
analogous
#44D440 #40D486 #40D4D0
triadic
#40D486 #8640D4 #D48640
tetradic
#40D486 #4044D4 #D4408E #D4D040
square
#40D486 #4044D4 #D4408E #D4D040
split-complementary
#40D486 #D040D4 #D44044
monochromatic
#1C7D4A #27AF68 #40D486 #72DFA6 #A4EAC5

Accessibility & contrast

On white

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

On black

10.98
#40D486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D486
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D486#FFFFFF#000000##000000
##40D4861.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d486;
/* rgb */ color: rgb(64, 212, 134);
/* oklch */ color: oklch(77.4% 0.167 155.6);
Tailwind
colors: {
  custom: {
    50: '#87e2aa',
    500: '#40d486',
    950: '#000000',
  },
}
SCSS
$custom: #40d486;
$custom-light: #87e2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40d486",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 134
  },
  "hsl": {
    "h": 148.378,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77383,
    "c": 0.16722,
    "h": 155.6
  },
  "luminance": 0.49898
}

Semantic roles & 50–950 ramp

primary
#40D486
secondary
#D798BA
accent
#4298E6
background
#F9FEFA
surface
#F1FCF4
border
#CBD5CE
text
#0D1510
muted
#7E847F

Preview Lab

Preview with #40D486

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

Preview Lab → · Contrast checker → · Palette generator →

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