#40AE2F#40AE2F

#40AE2F is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.191 H 141.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#40AE2F
RGBrgb(64, 174, 47)
HSLhsl(112, 57%, 43%)
HSVhsv(112, 73%, 68%)
CMYKcmyk(63.2%, 0%, 73%, 31.8%)
CIE-LABlab(62.98, -54.58, 52.95)
CIE-LCHlch(62.98, 76.04, 135.87°)
OKLaboklab(66.29% -0.1491 0.1199)
OKLCHoklch(66.29% 0.191 141.2)
XYZxyz(17.7626, 31.5656, 7.8455)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE2F #9D2FAE
analogous
#7FAE2F #40AE2F #2FAE5E
triadic
#40AE2F #2F40AE #AE2F40
tetradic
#40AE2F #2F7FAE #9D2FAE #AE5E2F
square
#40AE2F #2F7FAE #9D2FAE #AE5E2F
split-complementary
#40AE2F #5E2FAE #AE2F7F
monochromatic
#1D4E15 #2E7E22 #40AE2F #5DCF4C #89DC7C

Accessibility & contrast

On white

2.87
#40AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#40AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE2F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE2F#FFFFFF#000000##000000
##40AE2F1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E18
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#2EA895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae2f;
/* rgb */ color: rgb(64, 174, 47);
/* oklch */ color: oklch(66.3% 0.191 141.2);
Tailwind
colors: {
  custom: {
    50: '#83c770',
    500: '#40ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #40ae2f;
$custom-light: #83c770;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae2f",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 111.969,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.19138,
    "h": 141.2
  },
  "luminance": 0.31567
}

Semantic roles & 50–950 ramp

primary
#40AE2F
secondary
#B975C4
accent
#47E1CC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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