#40A96B#40A96B

#40A96B is a light, vivid green. Relative luminance 0.305; OKLCH L 65.8% C 0.134 H 154.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#40A96B
RGBrgb(64, 169, 107)
HSLhsl(145, 45%, 46%)
HSVhsv(145, 62%, 66%)
CMYKcmyk(62.1%, 0%, 36.7%, 33.7%)
CIE-LABlab(62.11, -44.54, 23.30)
CIE-LCHlch(62.11, 50.26, 152.39°)
OKLaboklab(65.8% -0.1207 0.0584)
OKLCHoklch(65.8% 0.134 154.2)
XYZxyz(18.9546, 30.5256, 18.8002)
Luminance0.3053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A96B #A9407E
analogous
#4AA940 #40A96B #40A99F
triadic
#40A96B #6B40A9 #A96B40
tetradic
#40A96B #404AA9 #A9407E #A99F40
square
#40A96B #404AA9 #A9407E #A99F40
split-complementary
#40A96B #9F40A9 #A9404A
monochromatic
#1E5033 #2F7D4F #40A96B #62C48A #8FD5AB

Accessibility & contrast

On white

2.96
#40A96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#40A96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A96B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A96B#FFFFFF#000000##000000
##40A96B1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99C67
Deuteranopia (green-blind)
#9B926F
Tritanopia (blue-blind)
#15A799
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a96b;
/* rgb */ color: rgb(64, 169, 107);
/* oklch */ color: oklch(65.8% 0.134 154.2);
Tailwind
colors: {
  custom: {
    50: '#7fc396',
    500: '#40a96b',
    950: '#000000',
  },
}
SCSS
$custom: #40a96b;
$custom-light: #7fc396;
$custom-dark: #000000;
JSON
{
  "hex": "#40a96b",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 107
  },
  "hsl": {
    "h": 144.571,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65797,
    "c": 0.13409,
    "h": 154.2
  },
  "luminance": 0.30527
}

Semantic roles & 50–950 ramp

primary
#40A96B
secondary
#C085A8
accent
#53A0D5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40A96B

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

Preview Lab → · Contrast checker → · Palette generator →

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