#40AB41#40AB41

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

Color values

HEX#40AB41
RGBrgb(64, 171, 65)
HSLhsl(121, 46%, 46%)
HSVhsv(121, 63%, 67%)
CMYKcmyk(62.6%, 0%, 62%, 32.9%)
CIE-LABlab(62.16, -51.76, 44.60)
CIE-LCHlch(62.16, 68.33, 139.25°)
OKLaboklab(65.66% -0.1406 0.1044)
OKLCHoklch(65.66% 0.175 143.4)
XYZxyz(17.6304, 30.5958, 9.9765)
Luminance0.3060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB41 #AB40AA
analogous
#74AB40 #40AB41 #40AB76
triadic
#40AB41 #4140AB #AB4140
tetradic
#40AB41 #4074AB #AB40AA #AB7640
square
#40AB41 #4074AB #AB40AA #AB7640
split-complementary
#40AB41 #7640AB #AB4074
monochromatic
#1F521F #2F7E30 #40AB41 #63C564 #90D591

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AB41#FFFFFF#000000##000000
##40AB411.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)
#AE9C35
Deuteranopia (green-blind)
#A1934A
Tritanopia (blue-blind)
#2BA694
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab41;
/* rgb */ color: rgb(64, 171, 65);
/* oklch */ color: oklch(65.7% 0.175 143.4);
Tailwind
colors: {
  custom: {
    50: '#81c579',
    500: '#40ab41',
    950: '#000000',
  },
}
SCSS
$custom: #40ab41;
$custom-light: #81c579;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab41",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 120.561,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65658,
    "c": 0.17509,
    "h": 143.4
  },
  "luminance": 0.30597
}

Semantic roles & 50–950 ramp

primary
#40AB41
secondary
#C186C0
accent
#53D4D5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #40AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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