#40D585#40D585

#40D585 is a light, vivid green. Relative luminance 0.504; OKLCH L 77.6% C 0.169 H 155.1°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#40D585
RGBrgb(64, 213, 133)
HSLhsl(148, 64%, 54%)
HSVhsv(148, 70%, 84%)
CMYKcmyk(70%, 0%, 37.6%, 16.5%)
CIE-LABlab(76.30, -56.86, 28.53)
CIE-LCHlch(76.30, 63.62, 153.36°)
OKLaboklab(77.62% -0.1537 0.0713)
OKLCHoklch(77.62% 0.169 155.1)
XYZxyz(30.1395, 50.3686, 30.3194)
Luminance0.5037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D585 #D54090
analogous
#46D540 #40D585 #40D5CF
triadic
#40D585 #8540D5 #D58540
tetradic
#40D585 #4046D5 #D54090 #D5CF40
square
#40D585 #4046D5 #D54090 #D5CF40
split-complementary
#40D585 #CF40D5 #D54046
monochromatic
#1C7F4A #27B167 #40D585 #72E0A5 #A4EBC5

Accessibility & contrast

On white

1.90
#40D585 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#40D585 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D585
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D585#FFFFFF#000000##000000
##40D5851.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C480
Deuteranopia (green-blind)
#C2B78A
Tritanopia (blue-blind)
#00D3C1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d585;
/* rgb */ color: rgb(64, 213, 133);
/* oklch */ color: oklch(77.6% 0.169 155.1);
Tailwind
colors: {
  custom: {
    50: '#87e3a9',
    500: '#40d585',
    950: '#000000',
  },
}
SCSS
$custom: #40d585;
$custom-light: #87e3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#40d585",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 133
  },
  "hsl": {
    "h": 147.785,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77616,
    "c": 0.16941,
    "h": 155.1
  },
  "luminance": 0.50372
}

Semantic roles & 50–950 ramp

primary
#40D585
secondary
#863360
accent
#419AE7
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D1610
muted
#7F8480

Preview Lab

Preview with #40D585

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

Preview Lab → · Contrast checker → · Palette generator →

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