#40A86E#40A86E

#40A86E is a light, vivid green. Relative luminance 0.302; OKLCH L 65.6% C 0.130 H 155.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#40A86E
RGBrgb(64, 168, 110)
HSLhsl(147, 45%, 45%)
HSVhsv(147, 62%, 66%)
CMYKcmyk(61.9%, 0%, 34.5%, 34.1%)
CIE-LABlab(61.84, -43.54, 21.32)
CIE-LCHlch(61.84, 48.47, 153.91°)
OKLaboklab(65.6% -0.1182 0.0537)
OKLCHoklch(65.6% 0.13 155.6)
XYZxyz(18.9298, 30.2192, 19.5841)
Luminance0.3022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A86E #A8407A
analogous
#46A840 #40A86E #40A8A2
triadic
#40A86E #6E40A8 #A86E40
tetradic
#40A86E #4046A8 #A8407A #A8A240
square
#40A86E #4046A8 #A8407A #A8A240
split-complementary
#40A86E #A240A8 #A84046
monochromatic
#1E4F34 #2F7C51 #40A86E #62C38D #8ED4AD

Accessibility & contrast

On white

2.98
#40A86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#40A86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A86E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A86E#FFFFFF#000000##000000
##40A86E1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79B6A
Deuteranopia (green-blind)
#999172
Tritanopia (blue-blind)
#13A699
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a86e;
/* rgb */ color: rgb(64, 168, 110);
/* oklch */ color: oklch(65.6% 0.130 155.6);
Tailwind
colors: {
  custom: {
    50: '#7fc398',
    500: '#40a86e',
    950: '#000000',
  },
}
SCSS
$custom: #40a86e;
$custom-light: #7fc398;
$custom-dark: #000000;
JSON
{
  "hex": "#40a86e",
  "rgb": {
    "r": 64,
    "g": 168,
    "b": 110
  },
  "hsl": {
    "h": 146.538,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.656,
    "c": 0.12983,
    "h": 155.6
  },
  "luminance": 0.30221
}

Semantic roles & 50–950 ramp

primary
#40A86E
secondary
#BF85A5
accent
#539BD5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A86E

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

Preview Lab → · Contrast checker → · Palette generator →

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