#40B366#40B366

#40B366 is a light, vivid green. Relative luminance 0.343; OKLCH L 68.3% C 0.153 H 151.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#40B366
RGBrgb(64, 179, 102)
HSLhsl(140, 47%, 48%)
HSVhsv(140, 64%, 70%)
CMYKcmyk(64.2%, 0%, 43%, 29.8%)
CIE-LABlab(65.19, -49.47, 30.02)
CIE-LCHlch(65.19, 57.86, 148.75°)
OKLaboklab(68.31% -0.1335 0.0741)
OKLCHoklch(68.31% 0.153 151)
XYZxyz(20.6311, 34.2874, 18.0987)
Luminance0.3429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B366 #B3408D
analogous
#54B340 #40B366 #40B39F
triadic
#40B366 #6640B3 #B36640
tetradic
#40B366 #4054B3 #B3408D #B39F40
square
#40B366 #4054B3 #B3408D #B39F40
split-complementary
#40B366 #9F40B3 #B34054
monochromatic
#205933 #30864C #40B366 #67C988 #94D9AB

Accessibility & contrast

On white

2.67
#40B366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#40B366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B366
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B366#FFFFFF#000000##000000
##40B3661.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A460
Deuteranopia (green-blind)
#A59A6B
Tritanopia (blue-blind)
#12B0A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b366;
/* rgb */ color: rgb(64, 179, 102);
/* oklch */ color: oklch(68.3% 0.153 151.0);
Tailwind
colors: {
  custom: {
    50: '#81cb92',
    500: '#40b366',
    950: '#000000',
  },
}
SCSS
$custom: #40b366;
$custom-light: #81cb92;
$custom-dark: #000000;
JSON
{
  "hex": "#40b366",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 102
  },
  "hsl": {
    "h": 139.826,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68306,
    "c": 0.15274,
    "h": 151
  },
  "luminance": 0.34289
}

Semantic roles & 50–950 ramp

primary
#40B366
secondary
#C48AB1
accent
#51ABD7
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40B366

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

Preview Lab → · Contrast checker → · Palette generator →

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