#40AB47#40AB47

#40AB47 is a light, vivid green. Relative luminance 0.307; OKLCH L 65.7% C 0.170 H 144.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#40AB47
RGBrgb(64, 171, 71)
HSLhsl(124, 46%, 46%)
HSVhsv(124, 63%, 67%)
CMYKcmyk(62.6%, 0%, 58.5%, 32.9%)
CIE-LABlab(62.23, -51.05, 41.89)
CIE-LCHlch(62.23, 66.04, 140.63°)
OKLaboklab(65.73% -0.1383 0.0991)
OKLCHoklch(65.73% 0.17 144.4)
XYZxyz(17.8135, 30.6690, 10.9410)
Luminance0.3067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB47 #AB40A4
analogous
#6EAB40 #40AB47 #40AB7C
triadic
#40AB47 #4740AB #AB4740
tetradic
#40AB47 #406EAB #AB40A4 #AB7C40
square
#40AB47 #406EAB #AB40A4 #AB7C40
split-complementary
#40AB47 #7C40AB #AB406E
monochromatic
#1F5222 #2F7E35 #40AB47 #63C56A #90D595

Accessibility & contrast

On white

2.94
#40AB47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#40AB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB47
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB47#FFFFFF#000000##000000
##40AB471.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3D
Deuteranopia (green-blind)
#A1934F
Tritanopia (blue-blind)
#29A795
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab47;
/* rgb */ color: rgb(64, 171, 71);
/* oklch */ color: oklch(65.7% 0.170 144.4);
Tailwind
colors: {
  custom: {
    50: '#81c57d',
    500: '#40ab47',
    950: '#000000',
  },
}
SCSS
$custom: #40ab47;
$custom-light: #81c57d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab47",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 123.925,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6573,
    "c": 0.17018,
    "h": 144.4
  },
  "luminance": 0.30671
}

Semantic roles & 50–950 ramp

primary
#40AB47
secondary
#C186BD
accent
#53CDD5
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AB47

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

Preview Lab → · Contrast checker → · Palette generator →

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