#40B94D#40B94D

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

Color values

HEX#40B94D
RGBrgb(64, 185, 77)
HSLhsl(126, 49%, 49%)
HSVhsv(126, 65%, 73%)
CMYKcmyk(65.4%, 0%, 58.4%, 27.5%)
CIE-LABlab(66.76, -55.43, 44.38)
CIE-LCHlch(66.76, 71.01, 141.32°)
OKLaboklab(69.5% -0.15 0.105)
OKLCHoklch(69.5% 0.183 145)
XYZxyz(20.8015, 36.3216, 12.9343)
Luminance0.3632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B94D #B940AC
analogous
#70B940 #40B94D #40B98A
triadic
#40B94D #4D40B9 #B94D40
tetradic
#40B94D #4070B9 #B940AC #B98A40
square
#40B94D #4070B9 #B940AC #B98A40
split-complementary
#40B94D #8A40B9 #B94070
monochromatic
#215E27 #308C3A #40B94D #6BCC75 #98DB9F

Accessibility & contrast

On white

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

On black

8.26
#40B94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B94D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B94D#FFFFFF#000000##000000
##40B94D1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA942
Deuteranopia (green-blind)
#AD9E56
Tritanopia (blue-blind)
#1FB4A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b94d;
/* rgb */ color: rgb(64, 185, 77);
/* oklch */ color: oklch(69.5% 0.183 145.0);
Tailwind
colors: {
  custom: {
    50: '#83cf82',
    500: '#40b94d',
    950: '#000000',
  },
}
SCSS
$custom: #40b94d;
$custom-light: #83cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#40b94d",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 126.446,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69498,
    "c": 0.18305,
    "h": 145
  },
  "luminance": 0.36324
}

Semantic roles & 50–950 ramp

primary
#40B94D
secondary
#C78EC1
accent
#50C9D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B94D

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

Preview Lab → · Contrast checker → · Palette generator →

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