#40D58A#40D58A

#40D58A is a light, vivid green. Relative luminance 0.505; OKLCH L 77.7% C 0.165 H 156.6°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#40D58A
RGBrgb(64, 213, 138)
HSLhsl(150, 64%, 54%)
HSVhsv(150, 70%, 84%)
CMYKcmyk(70%, 0%, 35.2%, 16.5%)
CIE-LABlab(76.38, -55.91, 26.05)
CIE-LCHlch(76.38, 61.68, 155.01°)
OKLaboklab(77.72% -0.1514 0.0655)
OKLCHoklch(77.72% 0.165 156.6)
XYZxyz(30.4932, 50.5100, 32.1822)
Luminance0.5051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D58A #D5408B
analogous
#41D540 #40D58A #40D5D5
triadic
#40D58A #8A40D5 #D58A40
tetradic
#40D58A #4041D5 #D5408B #D5D540
square
#40D58A #4041D5 #D5408B #D5D540
split-complementary
#40D58A #D540D5 #D54041
monochromatic
#1C7F4D #27B16B #40D58A #72E0A9 #A4EBC7

Accessibility & contrast

On white

1.89
#40D58A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#40D58A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D58A
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D58A#FFFFFF#000000##000000
##40D58A1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C485
Deuteranopia (green-blind)
#C1B78F
Tritanopia (blue-blind)
#00D3C2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d58a;
/* rgb */ color: rgb(64, 213, 138);
/* oklch */ color: oklch(77.7% 0.165 156.6);
Tailwind
colors: {
  custom: {
    50: '#87e3ac',
    500: '#40d58a',
    950: '#000000',
  },
}
SCSS
$custom: #40d58a;
$custom-light: #87e3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40d58a",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 138
  },
  "hsl": {
    "h": 149.799,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77716,
    "c": 0.16495,
    "h": 156.6
  },
  "luminance": 0.50513
}

Semantic roles & 50–950 ramp

primary
#40D58A
secondary
#86335D
accent
#4194E7
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D58A

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

Preview Lab → · Contrast checker → · Palette generator →

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