#40AB56#40AB56

#40AB56 is a light, vivid green. Relative luminance 0.309; OKLCH L 65.9% C 0.157 H 147.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#40AB56
RGBrgb(64, 171, 86)
HSLhsl(132, 46%, 46%)
HSVhsv(132, 63%, 67%)
CMYKcmyk(62.6%, 0%, 49.7%, 32.9%)
CIE-LABlab(62.41, -48.97, 34.74)
CIE-LCHlch(62.41, 60.04, 144.65°)
OKLaboklab(65.94% -0.1323 0.0843)
OKLCHoklch(65.94% 0.157 147.5)
XYZxyz(18.3557, 30.8859, 13.7965)
Luminance0.3089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB56 #AB4095
analogous
#5FAB40 #40AB56 #40AB8B
triadic
#40AB56 #5640AB #AB5640
tetradic
#40AB56 #405FAB #AB4095 #AB8B40
square
#40AB56 #405FAB #AB4095 #AB8B40
split-complementary
#40AB56 #8B40AB #AB405F
monochromatic
#1F5229 #2F7E40 #40AB56 #63C577 #90D59E

Accessibility & contrast

On white

2.93
#40AB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#40AB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB56
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB56#FFFFFF#000000##000000
##40AB561.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D4F
Deuteranopia (green-blind)
#9F935C
Tritanopia (blue-blind)
#23A797
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ab56;
/* rgb */ color: rgb(64, 171, 86);
/* oklch */ color: oklch(65.9% 0.157 147.5);
Tailwind
colors: {
  custom: {
    50: '#80c587',
    500: '#40ab56',
    950: '#000000',
  },
}
SCSS
$custom: #40ab56;
$custom-light: #80c587;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab56",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 86
  },
  "hsl": {
    "h": 132.336,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65941,
    "c": 0.15686,
    "h": 147.5
  },
  "luminance": 0.30888
}

Semantic roles & 50–950 ramp

primary
#40AB56
secondary
#C186B5
accent
#53BAD5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40AB56

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

Preview Lab → · Contrast checker → · Palette generator →

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