#40AB3F#40AB3F

#40AB3F is a light, vivid green. Relative luminance 0.306; OKLCH L 65.6% C 0.177 H 143.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#40AB3F
RGBrgb(64, 171, 63)
HSLhsl(119, 46%, 46%)
HSVhsv(119, 63%, 67%)
CMYKcmyk(62.6%, 0%, 63.2%, 32.9%)
CIE-LABlab(62.15, -51.99, 45.48)
CIE-LCHlch(62.15, 69.07, 138.82°)
OKLaboklab(65.64% -0.1413 0.1061)
OKLCHoklch(65.64% 0.177 143.1)
XYZxyz(17.5735, 30.5730, 9.6767)
Luminance0.3058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB3F #AA3FAB
analogous
#76AB3F #40AB3F #3FAB74
triadic
#40AB3F #3F40AB #AB3F40
tetradic
#40AB3F #3F76AB #AA3FAB #AB743F
square
#40AB3F #3F76AB #AA3FAB #AB743F
split-complementary
#40AB3F #743FAB #AB3F76
monochromatic
#1F521E #2F7E2F #40AB3F #63C562 #8FD68F

Accessibility & contrast

On white

2.95
#40AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#40AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB3F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB3F#FFFFFF#000000##000000
##40AB3F1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C33
Deuteranopia (green-blind)
#A19348
Tritanopia (blue-blind)
#2BA694
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab3f;
/* rgb */ color: rgb(64, 171, 63);
/* oklch */ color: oklch(65.6% 0.177 143.1);
Tailwind
colors: {
  custom: {
    50: '#81c578',
    500: '#40ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #40ab3f;
$custom-light: #81c578;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab3f",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 119.444,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65636,
    "c": 0.17666,
    "h": 143.1
  },
  "luminance": 0.30575
}

Semantic roles & 50–950 ramp

primary
#40AB3F
secondary
#C085C1
accent
#52D6D5
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #40AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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