#40AE5C#40AE5C

#40AE5C is a light, vivid green. Relative luminance 0.321; OKLCH L 66.8% C 0.155 H 148.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#40AE5C
RGBrgb(64, 174, 92)
HSLhsl(135, 46%, 47%)
HSVhsv(135, 63%, 68%)
CMYKcmyk(63.2%, 0%, 47.1%, 31.8%)
CIE-LABlab(63.45, -49.19, 32.98)
CIE-LCHlch(63.45, 59.22, 146.16°)
OKLaboklab(66.83% -0.1328 0.0806)
OKLCHoklch(66.83% 0.155 148.8)
XYZxyz(19.1808, 32.1329, 15.3146)
Luminance0.3214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE5C #AE4092
analogous
#5BAE40 #40AE5C #40AE93
triadic
#40AE5C #5C40AE #AE5C40
tetradic
#40AE5C #405BAE #AE4092 #AE9340
square
#40AE5C #405BAE #AE4092 #AE9340
split-complementary
#40AE5C #9340AE #AE405B
monochromatic
#1F552D #308144 #40AE5C #65C67E #92D7A3

Accessibility & contrast

On white

2.83
#40AE5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#40AE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE5C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE5C#FFFFFF#000000##000000
##40AE5C1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA056
Deuteranopia (green-blind)
#A19662
Tritanopia (blue-blind)
#1EAB9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40ae5c;
/* rgb */ color: rgb(64, 174, 92);
/* oklch */ color: oklch(66.8% 0.155 148.8);
Tailwind
colors: {
  custom: {
    50: '#81c78b',
    500: '#40ae5c',
    950: '#000000',
  },
}
SCSS
$custom: #40ae5c;
$custom-light: #81c78b;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae5c",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 92
  },
  "hsl": {
    "h": 135.273,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66826,
    "c": 0.15534,
    "h": 148.8
  },
  "luminance": 0.32135
}

Semantic roles & 50–950 ramp

primary
#40AE5C
secondary
#C288B3
accent
#52B4D6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40AE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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