#40D166#40D166

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

Color values

HEX#40D166
RGBrgb(64, 209, 102)
HSLhsl(136, 61%, 54%)
HSVhsv(136, 69%, 82%)
CMYKcmyk(69.4%, 0%, 51.2%, 18%)
CIE-LABlab(74.60, -60.58, 41.91)
CIE-LCHlch(74.60, 73.67, 145.33°)
OKLaboklab(76.07% -0.1632 0.1012)
OKLCHoklch(76.07% 0.192 148.2)
XYZxyz(27.3110, 47.6472, 20.3253)
Luminance0.4765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D166 #D140AB
analogous
#62D140 #40D166 #40D1AE
triadic
#40D166 #6640D1 #D16640
tetradic
#40D166 #4062D1 #D140AB #D1AE40
square
#40D166 #4062D1 #D140AB #D1AE40
split-complementary
#40D166 #AE40D1 #D14062
monochromatic
#1D7935 #29AB4B #40D166 #71DD8E #A3E9B5

Accessibility & contrast

On white

1.99
#40D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D166#FFFFFF#000000##000000
##40D1661.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5D
Deuteranopia (green-blind)
#C2B36E
Tritanopia (blue-blind)
#00CDB8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d166;
/* rgb */ color: rgb(64, 209, 102);
/* oklch */ color: oklch(76.1% 0.192 148.2);
Tailwind
colors: {
  custom: {
    50: '#87e094',
    500: '#40d166',
    950: '#000000',
  },
}
SCSS
$custom: #40d166;
$custom-light: #87e094;
$custom-dark: #000000;
JSON
{
  "hex": "#40d166",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 135.724,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7607,
    "c": 0.19202,
    "h": 148.2
  },
  "luminance": 0.4765
}

Semantic roles & 50–950 ramp

primary
#40D166
secondary
#D597C5
accent
#44BAE4
background
#F9FDF9
surface
#F1FBF1
border
#CBD4CB
text
#0D150D
muted
#7E837E

Preview Lab

Preview with #40D166

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

Preview Lab → · Contrast checker → · Palette generator →

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