#40B866#40B866

#40B866 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.6% C 0.160 H 150.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#40B866
RGBrgb(64, 184, 102)
HSLhsl(139, 48%, 49%)
HSVhsv(139, 65%, 72%)
CMYKcmyk(65.2%, 0%, 44.6%, 27.8%)
CIE-LABlab(66.77, -51.40, 32.06)
CIE-LCHlch(66.77, 60.58, 148.05°)
OKLaboklab(69.61% -0.1387 0.0788)
OKLCHoklch(69.61% 0.16 150.4)
XYZxyz(21.6514, 36.3280, 18.4388)
Luminance0.3633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B866 #B84092
analogous
#56B840 #40B866 #40B8A2
triadic
#40B866 #6640B8 #B86640
tetradic
#40B866 #4056B8 #B84092 #B8A240
square
#40B866 #4056B8 #B84092 #B8A240
split-complementary
#40B866 #A240B8 #B84056
monochromatic
#205D34 #308B4D #40B866 #6ACB89 #97DBAD

Accessibility & contrast

On white

2.54
#40B866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#40B866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B866
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B866#FFFFFF#000000##000000
##40B8661.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A960
Deuteranopia (green-blind)
#AA9E6C
Tritanopia (blue-blind)
#0CB5A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b866;
/* rgb */ color: rgb(64, 184, 102);
/* oklch */ color: oklch(69.6% 0.160 150.4);
Tailwind
colors: {
  custom: {
    50: '#82ce93',
    500: '#40b866',
    950: '#000000',
  },
}
SCSS
$custom: #40b866;
$custom-light: #82ce93;
$custom-dark: #000000;
JSON
{
  "hex": "#40b866",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 102
  },
  "hsl": {
    "h": 139,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.15952,
    "h": 150.4
  },
  "luminance": 0.3633
}

Semantic roles & 50–950 ramp

primary
#40B866
secondary
#C78DB4
accent
#50ADD8
background
#F8FCF9
surface
#F0F9F1
border
#CBD2CB
text
#0C140D
muted
#7D827E

Preview Lab

Preview with #40B866

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

Preview Lab → · Contrast checker → · Palette generator →

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