#40AB2F#40AB2F

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

Color values

HEX#40AB2F
RGBrgb(64, 171, 47)
HSLhsl(112, 57%, 43%)
HSVhsv(112, 73%, 67%)
CMYKcmyk(62.6%, 0%, 72.5%, 32.9%)
CIE-LABlab(62.01, -53.51, 51.96)
CIE-LCHlch(62.01, 74.59, 135.84°)
OKLaboklab(65.49% -0.1463 0.1179)
OKLCHoklch(65.49% 0.188 141.1)
XYZxyz(17.1895, 30.4194, 7.6544)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB2F #9A2FAB
analogous
#7EAB2F #40AB2F #2FAB5C
triadic
#40AB2F #2F40AB #AB2F40
tetradic
#40AB2F #2F7EAB #9A2FAB #AB5C2F
square
#40AB2F #2F7EAB #9A2FAB #AB5C2F
split-complementary
#40AB2F #5C2FAB #AB2F7E
monochromatic
#1C4B15 #2E7B22 #40AB2F #5CCD4A #87DA7A

Accessibility & contrast

On white

2.96
#40AB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AB2F#FFFFFF#000000##000000
##40AB2F1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40ab2f;
/* rgb */ color: rgb(64, 171, 47);
/* oklch */ color: oklch(65.5% 0.188 141.1);
Tailwind
colors: {
  custom: {
    50: '#82c56f',
    500: '#40ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #40ab2f;
$custom-light: #82c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab2f",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 111.774,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65485,
    "c": 0.18784,
    "h": 141.1
  },
  "luminance": 0.30421
}

Semantic roles & 50–950 ramp

primary
#40AB2F
secondary
#B873C3
accent
#48E0CB
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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