#40A15D#40A15D

#40A15D is a light, vivid green. Relative luminance 0.274; OKLCH L 63.4% C 0.136 H 150.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#40A15D
RGBrgb(64, 161, 93)
HSLhsl(138, 43%, 44%)
HSVhsv(138, 60%, 63%)
CMYKcmyk(60.2%, 0%, 42.2%, 36.9%)
CIE-LABlab(59.31, -43.84, 27.14)
CIE-LCHlch(59.31, 51.56, 148.24°)
OKLaboklab(63.43% -0.1186 0.0671)
OKLCHoklch(63.43% 0.136 150.5)
XYZxyz(16.8338, 27.3684, 14.7493)
Luminance0.2737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A15D #A14084
analogous
#54A140 #40A15D #40A18E
triadic
#40A15D #5D40A1 #A15D40
tetradic
#40A15D #4054A1 #A14084 #A18E40
square
#40A15D #4054A1 #A14084 #A18E40
split-complementary
#40A15D #8E40A1 #A14054
monochromatic
#1D492A #2F7544 #40A15D #5FBF7C #8BD1A0

Accessibility & contrast

On white

3.24
#40A15D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#40A15D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A15D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A15D#FFFFFF#000000##000000
##40A15D1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29458
Deuteranopia (green-blind)
#958B61
Tritanopia (blue-blind)
#249E90
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a15d;
/* rgb */ color: rgb(64, 161, 93);
/* oklch */ color: oklch(63.4% 0.136 150.5);
Tailwind
colors: {
  custom: {
    50: '#7ebe8b',
    500: '#40a15d',
    950: '#000000',
  },
}
SCSS
$custom: #40a15d;
$custom-light: #7ebe8b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a15d",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 93
  },
  "hsl": {
    "h": 137.938,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63427,
    "c": 0.13625,
    "h": 150.5
  },
  "luminance": 0.2737
}

Semantic roles & 50–950 ramp

primary
#40A15D
secondary
#BC81AA
accent
#55ADD3
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A15D

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

Preview Lab → · Contrast checker → · Palette generator →

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