#40C66B#40C66B

#40C66B is a light, vivid green. Relative luminance 0.425; OKLCH L 73.3% C 0.173 H 150.2°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#40C66B
RGBrgb(64, 198, 107)
HSLhsl(139, 54%, 51%)
HSVhsv(139, 68%, 78%)
CMYKcmyk(67.7%, 0%, 46%, 22.4%)
CIE-LABlab(71.24, -55.84, 35.22)
CIE-LCHlch(71.24, 66.02, 147.76°)
OKLaboklab(73.32% -0.1505 0.0863)
OKLCHoklch(73.32% 0.173 150.2)
XYZxyz(24.9603, 42.5370, 20.8021)
Luminance0.4254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C66B #C6409B
analogous
#58C640 #40C66B #40C6AE
triadic
#40C66B #6B40C6 #C66B40
tetradic
#40C66B #4058C6 #C6409B #C6AE40
square
#40C66B #4058C6 #C6409B #C6AE40
split-complementary
#40C66B #AE40C6 #C64058
monochromatic
#206C38 #2E9B51 #40C66B #6FD490 #9EE2B4

Accessibility & contrast

On white

2.21
#40C66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#40C66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C66B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C66B#FFFFFF#000000##000000
##40C66B1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B564
Deuteranopia (green-blind)
#B7AA71
Tritanopia (blue-blind)
#00C3B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c66b;
/* rgb */ color: rgb(64, 198, 107);
/* oklch */ color: oklch(73.3% 0.173 150.2);
Tailwind
colors: {
  custom: {
    50: '#85d896',
    500: '#40c66b',
    950: '#000000',
  },
}
SCSS
$custom: #40c66b;
$custom-light: #85d896;
$custom-dark: #000000;
JSON
{
  "hex": "#40c66b",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 107
  },
  "hsl": {
    "h": 139.254,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73316,
    "c": 0.17348,
    "h": 150.2
  },
  "luminance": 0.4254
}

Semantic roles & 50–950 ramp

primary
#40C66B
secondary
#CE93BB
accent
#4AAEDD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C66B

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

Preview Lab → · Contrast checker → · Palette generator →

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