#40B95B#40B95B

#40B95B is a light, vivid green. Relative luminance 0.365; OKLCH L 69.7% C 0.171 H 147.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#40B95B
RGBrgb(64, 185, 91)
HSLhsl(133, 49%, 49%)
HSVhsv(133, 65%, 73%)
CMYKcmyk(65.4%, 0%, 50.8%, 27.5%)
CIE-LABlab(66.93, -53.52, 37.83)
CIE-LCHlch(66.93, 65.54, 144.74°)
OKLaboklab(69.69% -0.1444 0.0915)
OKLCHoklch(69.69% 0.171 147.6)
XYZxyz(21.3501, 36.5410, 15.8235)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B95B #B9409E
analogous
#62B940 #40B95B #40B998
triadic
#40B95B #5B40B9 #B95B40
tetradic
#40B95B #4062B9 #B9409E #B99840
square
#40B95B #4062B9 #B9409E #B99840
split-complementary
#40B95B #9840B9 #B94062
monochromatic
#215E2E #308C45 #40B95B #6BCC80 #98DBA7

Accessibility & contrast

On white

2.53
#40B95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#40B95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B95B
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B95B#FFFFFF#000000##000000
##40B95B1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA953
Deuteranopia (green-blind)
#AC9F62
Tritanopia (blue-blind)
#17B5A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b95b;
/* rgb */ color: rgb(64, 185, 91);
/* oklch */ color: oklch(69.7% 0.171 147.6);
Tailwind
colors: {
  custom: {
    50: '#83cf8b',
    500: '#40b95b',
    950: '#000000',
  },
}
SCSS
$custom: #40b95b;
$custom-light: #83cf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b95b",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 133.388,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.17096,
    "h": 147.6
  },
  "luminance": 0.36543
}

Semantic roles & 50–950 ramp

primary
#40B95B
secondary
#C78EBA
accent
#50BAD8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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