#40B862#40B862

#40B862 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.5% C 0.163 H 149.3°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#40B862
RGBrgb(64, 184, 98)
HSLhsl(137, 48%, 49%)
HSVhsv(137, 65%, 72%)
CMYKcmyk(65.2%, 0%, 46.7%, 27.8%)
CIE-LABlab(66.71, -52.06, 34.03)
CIE-LCHlch(66.71, 62.20, 146.83°)
OKLaboklab(69.54% -0.1404 0.0832)
OKLCHoklch(69.54% 0.163 149.3)
XYZxyz(21.4578, 36.2506, 17.4191)
Luminance0.3625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B862 #B84096
analogous
#5AB840 #40B862 #40B89E
triadic
#40B862 #6240B8 #B86240
tetradic
#40B862 #405AB8 #B84096 #B89E40
square
#40B862 #405AB8 #B84096 #B89E40
split-complementary
#40B862 #9E40B8 #B8405A
monochromatic
#205D32 #308B4A #40B862 #6ACB86 #97DBAB

Accessibility & contrast

On white

2.55
#40B862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#40B862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B862
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B862#FFFFFF#000000##000000
##40B8621.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A95B
Deuteranopia (green-blind)
#AA9E68
Tritanopia (blue-blind)
#11B5A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b862;
/* rgb */ color: rgb(64, 184, 98);
/* oklch */ color: oklch(69.5% 0.163 149.3);
Tailwind
colors: {
  custom: {
    50: '#82ce90',
    500: '#40b862',
    950: '#000000',
  },
}
SCSS
$custom: #40b862;
$custom-light: #82ce90;
$custom-dark: #000000;
JSON
{
  "hex": "#40b862",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 137,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69539,
    "c": 0.16324,
    "h": 149.3
  },
  "luminance": 0.36253
}

Semantic roles & 50–950 ramp

primary
#40B862
secondary
#C78DB6
accent
#50B1D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B862

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

Preview Lab → · Contrast checker → · Palette generator →

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