#40D145#40D145

#40D145 is a light, highly saturated green. Relative luminance 0.471; OKLCH L 75.7% C 0.218 H 143.5°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#40D145
RGBrgb(64, 209, 69)
HSLhsl(122, 61%, 54%)
HSVhsv(122, 69%, 82%)
CMYKcmyk(69.4%, 0%, 67%, 18%)
CIE-LABlab(74.27, -64.55, 56.26)
CIE-LCHlch(74.27, 85.63, 138.93°)
OKLaboklab(75.68% -0.175 0.1296)
OKLCHoklch(75.68% 0.218 143.5)
XYZxyz(25.9874, 47.1178, 13.3541)
Luminance0.4712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D145 #D140CC
analogous
#83D140 #40D145 #40D18D
triadic
#40D145 #4540D1 #D14540
tetradic
#40D145 #4083D1 #D140CC #D18D40
square
#40D145 #4083D1 #D140CC #D18D40
split-complementary
#40D145 #8D40D1 #D14083
monochromatic
#1D7920 #29AB2E #40D145 #71DD75 #A3E9A5

Accessibility & contrast

On white

2.01
#40D145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#40D145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D145
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D145#FFFFFF#000000##000000
##40D1451.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE32
Deuteranopia (green-blind)
#C4B252
Tritanopia (blue-blind)
#0FCBB4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d145;
/* rgb */ color: rgb(64, 209, 69);
/* oklch */ color: oklch(75.7% 0.218 143.5);
Tailwind
colors: {
  custom: {
    50: '#88e07f',
    500: '#40d145',
    950: '#000000',
  },
}
SCSS
$custom: #40d145;
$custom-light: #88e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#40d145",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 69
  },
  "hsl": {
    "h": 122.069,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75682,
    "c": 0.21775,
    "h": 143.5
  },
  "luminance": 0.47121
}

Semantic roles & 50–950 ramp

primary
#40D145
secondary
#D597D3
accent
#44DFE4
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40D145

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

Preview Lab → · Contrast checker → · Palette generator →

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