#40A14D#40A14D

#40A14D is a light, vivid green. Relative luminance 0.271; OKLCH L 63.2% C 0.152 H 146.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#40A14D
RGBrgb(64, 161, 77)
HSLhsl(128, 43%, 44%)
HSVhsv(128, 60%, 63%)
CMYKcmyk(60.2%, 0%, 52.2%, 36.9%)
CIE-LABlab(59.08, -46.41, 35.18)
CIE-LCHlch(59.08, 58.24, 142.83°)
OKLaboklab(63.16% -0.1256 0.0848)
OKLCHoklch(63.16% 0.152 146)
XYZxyz(16.1978, 27.1140, 11.3997)
Luminance0.2712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A14D #A14094
analogous
#64A140 #40A14D #40A17E
triadic
#40A14D #4D40A1 #A14D40
tetradic
#40A14D #4064A1 #A14094 #A17E40
square
#40A14D #4064A1 #A14094 #A17E40
split-complementary
#40A14D #7E40A1 #A14064
monochromatic
#1D4923 #2F7538 #40A14D #5FBF6C #8BD194

Accessibility & contrast

On white

3.27
#40A14D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#40A14D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A14D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A14D#FFFFFF#000000##000000
##40A14D1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39346
Deuteranopia (green-blind)
#978B53
Tritanopia (blue-blind)
#2B9D8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a14d;
/* rgb */ color: rgb(64, 161, 77);
/* oklch */ color: oklch(63.2% 0.152 146.0);
Tailwind
colors: {
  custom: {
    50: '#7fbe81',
    500: '#40a14d',
    950: '#000000',
  },
}
SCSS
$custom: #40a14d;
$custom-light: #7fbe81;
$custom-dark: #000000;
JSON
{
  "hex": "#40a14d",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 77
  },
  "hsl": {
    "h": 128.041,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63158,
    "c": 0.15155,
    "h": 146
  },
  "luminance": 0.27116
}

Semantic roles & 50–950 ramp

primary
#40A14D
secondary
#BC81B4
accent
#55C2D3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A14D

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

Preview Lab → · Contrast checker → · Palette generator →

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