#40D140#40D140

#40D140 is a light, highly saturated green. Relative luminance 0.471; OKLCH L 75.6% C 0.221 H 143.0°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#40D140
RGBrgb(64, 209, 64)
HSLhsl(120, 61%, 54%)
HSVhsv(120, 69%, 82%)
CMYKcmyk(69.4%, 0%, 69.4%, 18%)
CIE-LABlab(74.23, -65.01, 58.18)
CIE-LCHlch(74.23, 87.24, 138.17°)
OKLaboklab(75.64% -0.1765 0.133)
OKLCHoklch(75.64% 0.221 143)
XYZxyz(25.8387, 47.0583, 12.5709)
Luminance0.4706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D140 #D140D1
analogous
#88D140 #40D140 #40D188
triadic
#40D140 #4040D1 #D14040
tetradic
#40D140 #4088D1 #D140D1 #D18840
square
#40D140 #4088D1 #D140D1 #D18840
split-complementary
#40D140 #8840D1 #D14088
monochromatic
#1D791D #29AB29 #40D140 #71DD71 #A3E9A3

Accessibility & contrast

On white

2.02
#40D140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#40D140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D140
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D140#FFFFFF#000000##000000
##40D1401.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2A
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#12CBB4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40d140;
/* rgb */ color: rgb(64, 209, 64);
/* oklch */ color: oklch(75.6% 0.221 143.0);
Tailwind
colors: {
  custom: {
    50: '#89e07c',
    500: '#40d140',
    950: '#000000',
  },
}
SCSS
$custom: #40d140;
$custom-light: #89e07c;
$custom-dark: #000000;
JSON
{
  "hex": "#40d140",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75639,
    "c": 0.221,
    "h": 143
  },
  "luminance": 0.47061
}

Semantic roles & 50–950 ramp

primary
#40D140
secondary
#D597D5
accent
#44E4E4
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40D140

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

Preview Lab → · Contrast checker → · Palette generator →

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