#40AB5E#40AB5E

#40AB5E is a light, vivid green. Relative luminance 0.310; OKLCH L 66.1% C 0.149 H 149.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#40AB5E
RGBrgb(64, 171, 94)
HSLhsl(137, 46%, 46%)
HSVhsv(137, 63%, 67%)
CMYKcmyk(62.6%, 0%, 45%, 32.9%)
CIE-LABlab(62.53, -47.69, 30.76)
CIE-LCHlch(62.53, 56.75, 147.18°)
OKLaboklab(66.07% -0.1288 0.0756)
OKLCHoklch(66.07% 0.149 149.6)
XYZxyz(18.6963, 31.0221, 15.5901)
Luminance0.3102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB5E #AB408D
analogous
#57AB40 #40AB5E #40AB93
triadic
#40AB5E #5E40AB #AB5E40
tetradic
#40AB5E #4057AB #AB408D #AB9340
square
#40AB5E #4057AB #AB408D #AB9340
split-complementary
#40AB5E #9340AB #AB4057
monochromatic
#1F522D #2F7E46 #40AB5E #63C57F #90D5A3

Accessibility & contrast

On white

2.91
#40AB5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#40AB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB5E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB5E#FFFFFF#000000##000000
##40AB5E1.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D58
Deuteranopia (green-blind)
#9E9363
Tritanopia (blue-blind)
#1EA898
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #40ab5e;
/* rgb */ color: rgb(64, 171, 94);
/* oklch */ color: oklch(66.1% 0.149 149.6);
Tailwind
colors: {
  custom: {
    50: '#80c58d',
    500: '#40ab5e',
    950: '#000000',
  },
}
SCSS
$custom: #40ab5e;
$custom-light: #80c58d;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab5e",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 94
  },
  "hsl": {
    "h": 136.822,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66073,
    "c": 0.14932,
    "h": 149.6
  },
  "luminance": 0.31024
}

Semantic roles & 50–950 ramp

primary
#40AB5E
secondary
#C186B0
accent
#53B1D5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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