#40AB6F#40AB6F

#40AB6F is a light, vivid green. Relative luminance 0.314; OKLCH L 66.4% C 0.133 H 155.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#40AB6F
RGBrgb(64, 171, 111)
HSLhsl(146, 46%, 46%)
HSVhsv(146, 63%, 67%)
CMYKcmyk(62.6%, 0%, 35.1%, 32.9%)
CIE-LABlab(62.81, -44.58, 22.08)
CIE-LCHlch(62.81, 49.75, 153.65°)
OKLaboklab(66.4% -0.121 0.0555)
OKLCHoklch(66.4% 0.133 155.3)
XYZxyz(19.5448, 31.3615, 20.0592)
Luminance0.3136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB6F #AB407C
analogous
#46AB40 #40AB6F #40ABA4
triadic
#40AB6F #6F40AB #AB6F40
tetradic
#40AB6F #4046AB #AB407C #ABA440
square
#40AB6F #4046AB #AB407C #ABA440
split-complementary
#40AB6F #A440AB #AB4046
monochromatic
#1F5235 #2F7E52 #40AB6F #63C58E #90D5AE

Accessibility & contrast

On white

2.89
#40AB6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#40AB6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB6F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB6F#FFFFFF#000000##000000
##40AB6F1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E6B
Deuteranopia (green-blind)
#9C9473
Tritanopia (blue-blind)
#0FA99B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ab6f;
/* rgb */ color: rgb(64, 171, 111);
/* oklch */ color: oklch(66.4% 0.133 155.3);
Tailwind
colors: {
  custom: {
    50: '#80c598',
    500: '#40ab6f',
    950: '#000000',
  },
}
SCSS
$custom: #40ab6f;
$custom-light: #80c598;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab6f",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 111
  },
  "hsl": {
    "h": 146.355,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66401,
    "c": 0.13312,
    "h": 155.3
  },
  "luminance": 0.31364
}

Semantic roles & 50–950 ramp

primary
#40AB6F
secondary
#C186A7
accent
#539CD5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #40AB6F

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

Preview Lab → · Contrast checker → · Palette generator →

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