#40AB4E#40AB4E

#40AB4E is a light, vivid green. Relative luminance 0.308; OKLCH L 65.8% C 0.164 H 145.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#40AB4E
RGBrgb(64, 171, 78)
HSLhsl(128, 46%, 46%)
HSVhsv(128, 63%, 67%)
CMYKcmyk(62.6%, 0%, 54.4%, 32.9%)
CIE-LABlab(62.31, -50.13, 38.61)
CIE-LCHlch(62.31, 63.28, 142.39°)
OKLaboklab(65.82% -0.1356 0.0925)
OKLCHoklch(65.82% 0.164 145.7)
XYZxyz(18.0512, 30.7641, 12.1930)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB4E #AB409D
analogous
#67AB40 #40AB4E #40AB83
triadic
#40AB4E #4E40AB #AB4E40
tetradic
#40AB4E #4067AB #AB409D #AB8340
square
#40AB4E #4067AB #AB409D #AB8340
split-complementary
#40AB4E #8340AB #AB4067
monochromatic
#1F5225 #2F7E3A #40AB4E #63C570 #90D599

Accessibility & contrast

On white

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

On black

7.15
#40AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB4E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB4E#FFFFFF#000000##000000
##40AB4E1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C45
Deuteranopia (green-blind)
#A09355
Tritanopia (blue-blind)
#26A796
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ab4e;
/* rgb */ color: rgb(64, 171, 78);
/* oklch */ color: oklch(65.8% 0.164 145.7);
Tailwind
colors: {
  custom: {
    50: '#81c582',
    500: '#40ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #40ab4e;
$custom-light: #81c582;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab4e",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 127.85,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65822,
    "c": 0.16413,
    "h": 145.7
  },
  "luminance": 0.30766
}

Semantic roles & 50–950 ramp

primary
#40AB4E
secondary
#C186B9
accent
#53C4D5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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