#40B15E#40B15E

#40B15E is a light, vivid green. Relative luminance 0.333; OKLCH L 67.6% C 0.158 H 149.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#40B15E
RGBrgb(64, 177, 94)
HSLhsl(136, 47%, 47%)
HSVhsv(136, 64%, 69%)
CMYKcmyk(63.8%, 0%, 46.9%, 30.6%)
CIE-LABlab(64.44, -50.03, 33.19)
CIE-LCHlch(64.44, 60.04, 146.44°)
OKLaboklab(67.65% -0.135 0.0812)
OKLCHoklch(67.65% 0.158 149)
XYZxyz(19.8554, 33.3404, 15.9765)
Luminance0.3334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B15E #B14093
analogous
#5BB140 #40B15E #40B196
triadic
#40B15E #5E40B1 #B15E40
tetradic
#40B15E #405BB1 #B14093 #B19640
square
#40B15E #405BB1 #B14093 #B19640
split-complementary
#40B15E #9640B1 #B1405B
monochromatic
#1F572E #308446 #40B15E #66C880 #93D8A6

Accessibility & contrast

On white

2.74
#40B15E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#40B15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B15E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B15E#FFFFFF#000000##000000
##40B15E1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A257
Deuteranopia (green-blind)
#A49864
Tritanopia (blue-blind)
#1AAE9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b15e;
/* rgb */ color: rgb(64, 177, 94);
/* oklch */ color: oklch(67.6% 0.158 149.0);
Tailwind
colors: {
  custom: {
    50: '#81c98d',
    500: '#40b15e',
    950: '#000000',
  },
}
SCSS
$custom: #40b15e;
$custom-light: #81c98d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b15e",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 94
  },
  "hsl": {
    "h": 135.929,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67645,
    "c": 0.15754,
    "h": 149
  },
  "luminance": 0.33342
}

Semantic roles & 50–950 ramp

primary
#40B15E
secondary
#C389B4
accent
#51B3D7
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40B15E

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

Preview Lab → · Contrast checker → · Palette generator →

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