#40D98A#40D98A

#40D98A is a light, vivid green. Relative luminance 0.526; OKLCH L 78.7% C 0.170 H 155.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#40D98A
RGBrgb(64, 217, 138)
HSLhsl(149, 67%, 55%)
HSVhsv(149, 71%, 85%)
CMYKcmyk(70.5%, 0%, 36.4%, 14.9%)
CIE-LABlab(77.61, -57.42, 27.70)
CIE-LCHlch(77.61, 63.75, 154.25°)
OKLaboklab(78.72% -0.1553 0.0695)
OKLCHoklch(78.72% 0.17 155.9)
XYZxyz(31.5117, 52.5471, 32.5217)
Luminance0.5255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D98A #D9408F
analogous
#42D940 #40D98A #40D9D7
triadic
#40D98A #8A40D9 #D98A40
tetradic
#40D98A #4042D9 #D9408F #D9D740
square
#40D98A #4042D9 #D9408F #D9D740
split-complementary
#40D98A #D740D9 #D94042
monochromatic
#1A844E #24B76C #40D98A #73E3A9 #A6EDC9

Accessibility & contrast

On white

1.82
#40D98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#40D98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D98A
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D98A#FFFFFF#000000##000000
##40D98A1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C885
Deuteranopia (green-blind)
#C5BA8F
Tritanopia (blue-blind)
#00D7C5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #40d98a;
/* rgb */ color: rgb(64, 217, 138);
/* oklch */ color: oklch(78.7% 0.170 155.9);
Tailwind
colors: {
  custom: {
    50: '#88e6ac',
    500: '#40d98a',
    950: '#000000',
  },
}
SCSS
$custom: #40d98a;
$custom-light: #88e6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40d98a",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 138
  },
  "hsl": {
    "h": 149.02,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78725,
    "c": 0.17011,
    "h": 155.9
  },
  "luminance": 0.52551
}

Semantic roles & 50–950 ramp

primary
#40D98A
secondary
#8B3260
accent
#3E97EA
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D98A

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

Preview Lab → · Contrast checker → · Palette generator →

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