#40A36B#40A36B

#40A36B is a light, vivid green. Relative luminance 0.283; OKLCH L 64.2% C 0.126 H 155.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#40A36B
RGBrgb(64, 163, 107)
HSLhsl(146, 44%, 45%)
HSVhsv(146, 61%, 64%)
CMYKcmyk(60.7%, 0%, 34.4%, 36.1%)
CIE-LABlab(60.20, -42.04, 20.73)
CIE-LCHlch(60.20, 46.87, 153.75°)
OKLaboklab(64.23% -0.1142 0.0522)
OKLCHoklch(64.23% 0.126 155.4)
XYZxyz(17.8639, 28.3442, 18.4366)
Luminance0.2835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A36B #A34078
analogous
#46A340 #40A36B #40A39D
triadic
#40A36B #6B40A3 #A36B40
tetradic
#40A36B #4046A3 #A34078 #A39D40
square
#40A36B #4046A3 #A34078 #A39D40
split-complementary
#40A36B #9D40A3 #A34046
monochromatic
#1D4B31 #2F774E #40A36B #60C08A #8CD2AA

Accessibility & contrast

On white

3.15
#40A36B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#40A36B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A36B
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A36B#FFFFFF#000000##000000
##40A36B1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29767
Deuteranopia (green-blind)
#958D6F
Tritanopia (blue-blind)
#19A194
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a36b;
/* rgb */ color: rgb(64, 163, 107);
/* oklch */ color: oklch(64.2% 0.126 155.4);
Tailwind
colors: {
  custom: {
    50: '#7ebf95',
    500: '#40a36b',
    950: '#000000',
  },
}
SCSS
$custom: #40a36b;
$custom-light: #7ebf95;
$custom-dark: #000000;
JSON
{
  "hex": "#40a36b",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 107
  },
  "hsl": {
    "h": 146.061,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.64233,
    "c": 0.12557,
    "h": 155.4
  },
  "luminance": 0.28346
}

Semantic roles & 50–950 ramp

primary
#40A36B
secondary
#BD82A3
accent
#549CD3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A36B

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

Preview Lab → · Contrast checker → · Palette generator →

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