#40A156#40A156

#40A156 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.3% C 0.143 H 148.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#40A156
RGBrgb(64, 161, 86)
HSLhsl(134, 43%, 44%)
HSVhsv(134, 60%, 63%)
CMYKcmyk(60.2%, 0%, 46.6%, 36.9%)
CIE-LABlab(59.21, -45.02, 30.70)
CIE-LCHlch(59.21, 54.50, 145.71°)
OKLaboklab(63.3% -0.1217 0.0751)
OKLCHoklch(63.3% 0.143 148.3)
XYZxyz(16.5378, 27.2501, 13.1906)
Luminance0.2725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A156 #A1408B
analogous
#5BA140 #40A156 #40A187
triadic
#40A156 #5640A1 #A15640
tetradic
#40A156 #405BA1 #A1408B #A18740
square
#40A156 #405BA1 #A1408B #A18740
split-complementary
#40A156 #8740A1 #A1405B
monochromatic
#1D4927 #2F753F #40A156 #5FBF75 #8BD19B

Accessibility & contrast

On white

3.26
#40A156 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#40A156 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A156
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A156#FFFFFF#000000##000000
##40A1561.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39450
Deuteranopia (green-blind)
#968B5B
Tritanopia (blue-blind)
#279E8F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a156;
/* rgb */ color: rgb(64, 161, 86);
/* oklch */ color: oklch(63.3% 0.143 148.3);
Tailwind
colors: {
  custom: {
    50: '#7ebe87',
    500: '#40a156',
    950: '#000000',
  },
}
SCSS
$custom: #40a156;
$custom-light: #7ebe87;
$custom-dark: #000000;
JSON
{
  "hex": "#40a156",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 86
  },
  "hsl": {
    "h": 133.608,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.14304,
    "h": 148.3
  },
  "luminance": 0.27252
}

Semantic roles & 50–950 ramp

primary
#40A156
secondary
#BC81AE
accent
#55B6D3
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A156

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

Preview Lab → · Contrast checker → · Palette generator →

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