#40AE3C#40AE3C

#40AE3C is a light, vivid green. Relative luminance 0.317; OKLCH L 66.4% C 0.183 H 142.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#40AE3C
RGBrgb(64, 174, 60)
HSLhsl(118, 49%, 46%)
HSVhsv(118, 66%, 68%)
CMYKcmyk(63.2%, 0%, 65.5%, 31.8%)
CIE-LABlab(63.08, -53.40, 47.84)
CIE-LCHlch(63.08, 71.69, 138.14°)
OKLaboklab(66.4% -0.1452 0.1108)
OKLCHoklch(66.4% 0.183 142.7)
XYZxyz(18.0650, 31.6866, 9.4382)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE3C #AA3CAE
analogous
#79AE3C #40AE3C #3CAE71
triadic
#40AE3C #3C40AE #AE3C40
tetradic
#40AE3C #3C79AE #AA3CAE #AE713C
square
#40AE3C #3C79AE #AA3CAE #AE713C
split-complementary
#40AE3C #713CAE #AE3C79
monochromatic
#1F531D #2F802C #40AE3C #63C85F #8FD88D

Accessibility & contrast

On white

2.86
#40AE3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#40AE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE3C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE3C#FFFFFF#000000##000000
##40AE3C1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E2E
Deuteranopia (green-blind)
#A49546
Tritanopia (blue-blind)
#2BA996
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40ae3c;
/* rgb */ color: rgb(64, 174, 60);
/* oklch */ color: oklch(66.4% 0.183 142.7);
Tailwind
colors: {
  custom: {
    50: '#82c777',
    500: '#40ae3c',
    950: '#000000',
  },
}
SCSS
$custom: #40ae3c;
$custom-light: #82c777;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae3c",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 117.895,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66402,
    "c": 0.18266,
    "h": 142.7
  },
  "luminance": 0.31688
}

Semantic roles & 50–950 ramp

primary
#40AE3C
secondary
#C083C2
accent
#50D8D3
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40AE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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