#40B95F#40B95F

#40B95F is a light, vivid green. Relative luminance 0.366; OKLCH L 69.8% C 0.167 H 148.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#40B95F
RGBrgb(64, 185, 95)
HSLhsl(135, 49%, 49%)
HSVhsv(135, 65%, 73%)
CMYKcmyk(65.4%, 0%, 48.6%, 27.5%)
CIE-LABlab(66.98, -52.91, 35.90)
CIE-LCHlch(66.98, 63.94, 145.84°)
OKLaboklab(69.75% -0.1427 0.0873)
OKLCHoklch(69.75% 0.167 148.5)
XYZxyz(21.5273, 36.6119, 16.7566)
Luminance0.3661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B95F #B9409A
analogous
#5EB940 #40B95F #40B99C
triadic
#40B95F #5F40B9 #B95F40
tetradic
#40B95F #405EB9 #B9409A #B99C40
square
#40B95F #405EB9 #B9409A #B99C40
split-complementary
#40B95F #9C40B9 #B9405E
monochromatic
#215E30 #308C48 #40B95F #6BCC83 #98DBA9

Accessibility & contrast

On white

2.52
#40B95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#40B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B95F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B95F#FFFFFF#000000##000000
##40B95F1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA958
Deuteranopia (green-blind)
#AC9F65
Tritanopia (blue-blind)
#13B5A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b95f;
/* rgb */ color: rgb(64, 185, 95);
/* oklch */ color: oklch(69.8% 0.167 148.5);
Tailwind
colors: {
  custom: {
    50: '#83cf8e',
    500: '#40b95f',
    950: '#000000',
  },
}
SCSS
$custom: #40b95f;
$custom-light: #83cf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b95f",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 135.372,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69751,
    "c": 0.16733,
    "h": 148.5
  },
  "luminance": 0.36614
}

Semantic roles & 50–950 ramp

primary
#40B95F
secondary
#C78EB8
accent
#50B5D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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