#40B95E#40B95E

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

Color values

HEX#40B95E
RGBrgb(64, 185, 94)
HSLhsl(135, 49%, 49%)
HSVhsv(135, 65%, 73%)
CMYKcmyk(65.4%, 0%, 49.2%, 27.5%)
CIE-LABlab(66.97, -53.07, 36.39)
CIE-LCHlch(66.97, 64.34, 145.56°)
OKLaboklab(69.74% -0.1431 0.0884)
OKLCHoklch(69.74% 0.168 148.3)
XYZxyz(21.4821, 36.5938, 16.5187)
Luminance0.3660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B95E #B9409B
analogous
#5FB940 #40B95E #40B99B
triadic
#40B95E #5E40B9 #B95E40
tetradic
#40B95E #405FB9 #B9409B #B99B40
square
#40B95E #405FB9 #B9409B #B99B40
split-complementary
#40B95E #9B40B9 #B9405F
monochromatic
#215E30 #308C47 #40B95E #6BCC83 #98DBA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B95E#FFFFFF#000000##000000
##40B95E1.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)
#BBA957
Deuteranopia (green-blind)
#AC9F64
Tritanopia (blue-blind)
#14B5A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40b95e;
/* rgb */ color: rgb(64, 185, 94);
/* oklch */ color: oklch(69.7% 0.168 148.3);
Tailwind
colors: {
  custom: {
    50: '#83cf8d',
    500: '#40b95e',
    950: '#000000',
  },
}
SCSS
$custom: #40b95e;
$custom-light: #83cf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b95e",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 94
  },
  "hsl": {
    "h": 134.876,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69735,
    "c": 0.16824,
    "h": 148.3
  },
  "luminance": 0.36596
}

Semantic roles & 50–950 ramp

primary
#40B95E
secondary
#C78EB9
accent
#50B6D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #40B95E

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

Preview Lab → · Contrast checker → · Palette generator →

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