#40D066#40D066

#40D066 is a light, vivid green. Relative luminance 0.472; OKLCH L 75.8% C 0.191 H 148.3°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#40D066
RGBrgb(64, 208, 102)
HSLhsl(136, 61%, 53%)
HSVhsv(136, 69%, 82%)
CMYKcmyk(69.2%, 0%, 51%, 18.4%)
CIE-LABlab(74.29, -60.23, 41.52)
CIE-LCHlch(74.29, 73.16, 145.42°)
OKLaboklab(75.81% -0.1622 0.1003)
OKLCHoklch(75.81% 0.191 148.3)
XYZxyz(27.0665, 47.1581, 20.2438)
Luminance0.4716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D066 #D040AA
analogous
#62D040 #40D066 #40D0AE
triadic
#40D066 #6640D0 #D06640
tetradic
#40D066 #4062D0 #D040AA #D0AE40
square
#40D066 #4062D0 #D040AA #D0AE40
split-complementary
#40D066 #AE40D0 #D04062
monochromatic
#1E7835 #2AA94B #40D066 #71DC8D #A2E8B5

Accessibility & contrast

On white

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

On black

10.43
#40D066 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D066
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D066#FFFFFF#000000##000000
##40D0661.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5D
Deuteranopia (green-blind)
#C1B26E
Tritanopia (blue-blind)
#00CCB8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d066;
/* rgb */ color: rgb(64, 208, 102);
/* oklch */ color: oklch(75.8% 0.191 148.3);
Tailwind
colors: {
  custom: {
    50: '#87df94',
    500: '#40d066',
    950: '#000000',
  },
}
SCSS
$custom: #40d066;
$custom-light: #87df94;
$custom-dark: #000000;
JSON
{
  "hex": "#40d066",
  "rgb": {
    "r": 64,
    "g": 208,
    "b": 102
  },
  "hsl": {
    "h": 135.833,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75813,
    "c": 0.19076,
    "h": 148.3
  },
  "luminance": 0.47161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D066

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

Preview Lab → · Contrast checker → · Palette generator →

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