#40AE3A#40AE3A

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

Color values

HEX#40AE3A
RGBrgb(64, 174, 58)
HSLhsl(117, 50%, 45%)
HSVhsv(117, 67%, 68%)
CMYKcmyk(63.2%, 0%, 66.7%, 31.8%)
CIE-LABlab(63.07, -53.60, 48.67)
CIE-LCHlch(63.07, 72.40, 137.76°)
OKLaboklab(66.38% -0.1459 0.1123)
OKLCHoklch(66.38% 0.184 142.4)
XYZxyz(18.0131, 31.6658, 9.1650)
Luminance0.3167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE3A #A83AAE
analogous
#7AAE3A #40AE3A #3AAE6E
triadic
#40AE3A #3A40AE #AE3A40
tetradic
#40AE3A #3A7AAE #A83AAE #AE6E3A
square
#40AE3A #3A7AAE #A83AAE #AE6E3A
split-complementary
#40AE3A #6E3AAE #AE3A7A
monochromatic
#1E521B #2F802B #40AE3A #62C95C #8ED88A

Accessibility & contrast

On white

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

On black

7.33
#40AE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE3A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE3A#FFFFFF#000000##000000
##40AE3A1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40ae3a;
/* rgb */ color: rgb(64, 174, 58);
/* oklch */ color: oklch(66.4% 0.184 142.4);
Tailwind
colors: {
  custom: {
    50: '#82c776',
    500: '#40ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #40ae3a;
$custom-light: #82c776;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae3a",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 116.897,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66382,
    "c": 0.18411,
    "h": 142.4
  },
  "luminance": 0.31668
}

Semantic roles & 50–950 ramp

primary
#40AE3A
secondary
#BF81C2
accent
#4EDAD2
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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