#40D37F#40D37F

#40D37F is a light, vivid green. Relative luminance 0.492; OKLCH L 77.0% C 0.172 H 153.7°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#40D37F
RGBrgb(64, 211, 127)
HSLhsl(146, 63%, 54%)
HSVhsv(146, 70%, 83%)
CMYKcmyk(69.7%, 0%, 39.8%, 17.3%)
CIE-LABlab(75.58, -57.22, 30.67)
CIE-LCHlch(75.58, 64.92, 151.81°)
OKLaboklab(77% -0.1544 0.0763)
OKLCHoklch(77% 0.172 153.7)
XYZxyz(29.2368, 49.2076, 28.0317)
Luminance0.4921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D37F #D34094
analogous
#4BD340 #40D37F #40D3C8
triadic
#40D37F #7F40D3 #D37F40
tetradic
#40D37F #404BD3 #D34094 #D3C840
square
#40D37F #404BD3 #D34094 #D3C840
split-complementary
#40D37F #C840D3 #D3404B
monochromatic
#1D7C45 #28AE61 #40D37F #72DEA0 #A3EAC2

Accessibility & contrast

On white

1.94
#40D37F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#40D37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D37F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D37F#FFFFFF#000000##000000
##40D37F1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C279
Deuteranopia (green-blind)
#C1B585
Tritanopia (blue-blind)
#00D0BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d37f;
/* rgb */ color: rgb(64, 211, 127);
/* oklch */ color: oklch(77.0% 0.172 153.7);
Tailwind
colors: {
  custom: {
    50: '#87e2a5',
    500: '#40d37f',
    950: '#000000',
  },
}
SCSS
$custom: #40d37f;
$custom-light: #87e2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40d37f",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 127
  },
  "hsl": {
    "h": 145.714,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76995,
    "c": 0.17222,
    "h": 153.7
  },
  "luminance": 0.49211
}

Semantic roles & 50–950 ramp

primary
#40D37F
secondary
#D798BC
accent
#42A0E6
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #40D37F

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

Preview Lab → · Contrast checker → · Palette generator →

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