#40D165#40D165

#40D165 is a light, vivid green. Relative luminance 0.476; OKLCH L 76.1% C 0.193 H 148.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#40D165
RGBrgb(64, 209, 101)
HSLhsl(135, 61%, 54%)
HSVhsv(135, 69%, 82%)
CMYKcmyk(69.4%, 0%, 51.7%, 18%)
CIE-LABlab(74.59, -60.73, 42.37)
CIE-LCHlch(74.59, 74.05, 145.09°)
OKLaboklab(76.06% -0.1636 0.1022)
OKLCHoklch(76.06% 0.193 148)
XYZxyz(27.2617, 47.6275, 20.0657)
Luminance0.4763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D165 #D140AC
analogous
#63D140 #40D165 #40D1AD
triadic
#40D165 #6540D1 #D16540
tetradic
#40D165 #4063D1 #D140AC #D1AD40
square
#40D165 #4063D1 #D140AC #D1AD40
split-complementary
#40D165 #AD40D1 #D14063
monochromatic
#1D7935 #29AB4A #40D165 #71DD8D #A3E9B5

Accessibility & contrast

On white

2.00
#40D165 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#40D165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D165
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D165#FFFFFF#000000##000000
##40D1651.002.0010.5310.53
#FFFFFF2.001.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5C
Deuteranopia (green-blind)
#C2B36D
Tritanopia (blue-blind)
#00CDB8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d165;
/* rgb */ color: rgb(64, 209, 101);
/* oklch */ color: oklch(76.1% 0.193 148.0);
Tailwind
colors: {
  custom: {
    50: '#87e093',
    500: '#40d165',
    950: '#000000',
  },
}
SCSS
$custom: #40d165;
$custom-light: #87e093;
$custom-dark: #000000;
JSON
{
  "hex": "#40d165",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 101
  },
  "hsl": {
    "h": 135.31,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76056,
    "c": 0.19288,
    "h": 148
  },
  "luminance": 0.47631
}

Semantic roles & 50–950 ramp

primary
#40D165
secondary
#D597C6
accent
#44BBE4
background
#F9FDF9
surface
#F1FBF1
border
#CBD4CB
text
#0D150D
muted
#7E837E

Preview Lab

Preview with #40D165

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

Preview Lab → · Contrast checker → · Palette generator →

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