#40AB2E#40AB2E

#40AB2E is a light, vivid green. Relative luminance 0.304; OKLCH L 65.5% C 0.188 H 141.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#40AB2E
RGBrgb(64, 171, 46)
HSLhsl(111, 58%, 43%)
HSVhsv(111, 73%, 67%)
CMYKcmyk(62.6%, 0%, 73.1%, 32.9%)
CIE-LABlab(62.01, -53.59, 52.33)
CIE-LCHlch(62.01, 74.91, 135.68°)
OKLaboklab(65.48% -0.1465 0.1185)
OKLCHoklch(65.48% 0.188 141)
XYZxyz(17.1695, 30.4114, 7.5494)
Luminance0.3041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB2E #992EAB
analogous
#7FAB2E #40AB2E #2EAB5A
triadic
#40AB2E #2E40AB #AB2E40
tetradic
#40AB2E #2E7FAB #992EAB #AB5A2E
square
#40AB2E #2E7FAB #992EAB #AB5A2E
split-complementary
#40AB2E #5A2EAB #AB2E7F
monochromatic
#1C4B14 #2E7B21 #40AB2E #5CCE48 #87DB79

Accessibility & contrast

On white

2.97
#40AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#40AB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB2E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB2E#FFFFFF#000000##000000
##40AB2E1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B18
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#2FA693
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab2e;
/* rgb */ color: rgb(64, 171, 46);
/* oklch */ color: oklch(65.5% 0.188 141.0);
Tailwind
colors: {
  custom: {
    50: '#82c56f',
    500: '#40ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #40ab2e;
$custom-light: #82c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab2e",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 111.36,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65477,
    "c": 0.18845,
    "h": 141
  },
  "luminance": 0.30413
}

Semantic roles & 50–950 ramp

primary
#40AB2E
secondary
#B772C3
accent
#47E1CB
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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