#40AE38#40AE38

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

Color values

HEX#40AE38
RGBrgb(64, 174, 56)
HSLhsl(116, 51%, 45%)
HSVhsv(116, 68%, 68%)
CMYKcmyk(63.2%, 0%, 67.8%, 31.8%)
CIE-LABlab(63.05, -53.79, 49.49)
CIE-LCHlch(63.05, 73.09, 137.39°)
OKLaboklab(66.36% -0.1465 0.1138)
OKLCHoklch(66.36% 0.186 142.2)
XYZxyz(17.9632, 31.6459, 8.9022)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE38 #A638AE
analogous
#7BAE38 #40AE38 #38AE6B
triadic
#40AE38 #3840AE #AE3840
tetradic
#40AE38 #387BAE #A638AE #AE6B38
square
#40AE38 #387BAE #A638AE #AE6B38
split-complementary
#40AE38 #6B38AE #AE387B
monochromatic
#1E511A #2F8029 #40AE38 #61CA59 #8DD988

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40AE38#FFFFFF#000000##000000
##40AE381.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E28
Deuteranopia (green-blind)
#A59543
Tritanopia (blue-blind)
#2CA996
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40ae38;
/* rgb */ color: rgb(64, 174, 56);
/* oklch */ color: oklch(66.4% 0.186 142.2);
Tailwind
colors: {
  custom: {
    50: '#82c774',
    500: '#40ae38',
    950: '#000000',
  },
}
SCSS
$custom: #40ae38;
$custom-light: #82c774;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae38",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 115.932,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.66363,
    "c": 0.18552,
    "h": 142.2
  },
  "luminance": 0.31648
}

Semantic roles & 50–950 ramp

primary
#40AE38
secondary
#BE7FC3
accent
#4DDBD1
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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