#40B14D#40B14D

#40B14D is a light, vivid green. Relative luminance 0.331; OKLCH L 67.4% C 0.173 H 145.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#40B14D
RGBrgb(64, 177, 77)
HSLhsl(127, 47%, 47%)
HSVhsv(127, 64%, 69%)
CMYKcmyk(63.8%, 0%, 56.5%, 30.6%)
CIE-LABlab(64.22, -52.51, 41.38)
CIE-LCHlch(64.22, 66.86, 141.76°)
OKLaboklab(67.39% -0.1421 0.0985)
OKLCHoklch(67.39% 0.173 145.3)
XYZxyz(19.1748, 33.0682, 12.3920)
Luminance0.3307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B14D #B140A4
analogous
#6BB140 #40B14D #40B186
triadic
#40B14D #4D40B1 #B14D40
tetradic
#40B14D #406BB1 #B140A4 #B18640
square
#40B14D #406BB1 #B140A4 #B18640
split-complementary
#40B14D #8640B1 #B1406B
monochromatic
#1F5726 #308439 #40B14D #66C872 #93D89B

Accessibility & contrast

On white

2.76
#40B14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#40B14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B14D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B14D#FFFFFF#000000##000000
##40B14D1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A243
Deuteranopia (green-blind)
#A69855
Tritanopia (blue-blind)
#24AD9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b14d;
/* rgb */ color: rgb(64, 177, 77);
/* oklch */ color: oklch(67.4% 0.173 145.3);
Tailwind
colors: {
  custom: {
    50: '#82c981',
    500: '#40b14d',
    950: '#000000',
  },
}
SCSS
$custom: #40b14d;
$custom-light: #82c981;
$custom-dark: #000000;
JSON
{
  "hex": "#40b14d",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 77
  },
  "hsl": {
    "h": 126.903,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67393,
    "c": 0.17285,
    "h": 145.3
  },
  "luminance": 0.3307
}

Semantic roles & 50–950 ramp

primary
#40B14D
secondary
#C389BD
accent
#51C7D7
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B14D

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

Preview Lab → · Contrast checker → · Palette generator →

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