#40AB55#40AB55

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

Color values

HEX#40AB55
RGBrgb(64, 171, 85)
HSLhsl(132, 46%, 46%)
HSVhsv(132, 63%, 67%)
CMYKcmyk(62.6%, 0%, 50.3%, 32.9%)
CIE-LABlab(62.40, -49.12, 35.23)
CIE-LCHlch(62.40, 60.45, 144.35°)
OKLaboklab(65.93% -0.1327 0.0853)
OKLCHoklch(65.93% 0.158 147.3)
XYZxyz(18.3157, 30.8699, 13.5858)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB55 #AB4096
analogous
#60AB40 #40AB55 #40AB8A
triadic
#40AB55 #5540AB #AB5540
tetradic
#40AB55 #4060AB #AB4096 #AB8A40
square
#40AB55 #4060AB #AB4096 #AB8A40
split-complementary
#40AB55 #8A40AB #AB4060
monochromatic
#1F5229 #2F7E3F #40AB55 #63C577 #90D59E

Accessibility & contrast

On white

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

On black

7.17
#40AB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB55
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB55#FFFFFF#000000##000000
##40AB551.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40ab55;
/* rgb */ color: rgb(64, 171, 85);
/* oklch */ color: oklch(65.9% 0.158 147.3);
Tailwind
colors: {
  custom: {
    50: '#80c586',
    500: '#40ab55',
    950: '#000000',
  },
}
SCSS
$custom: #40ab55;
$custom-light: #80c586;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab55",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 85
  },
  "hsl": {
    "h": 131.776,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65925,
    "c": 0.15778,
    "h": 147.3
  },
  "luminance": 0.30872
}

Semantic roles & 50–950 ramp

primary
#40AB55
secondary
#C186B5
accent
#53BCD5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #40AB55

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

Preview Lab → · Contrast checker → · Palette generator →

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