#40AE31#40AE31

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

Color values

HEX#40AE31
RGBrgb(64, 174, 49)
HSLhsl(113, 56%, 44%)
HSVhsv(113, 72%, 68%)
CMYKcmyk(63.2%, 0%, 71.8%, 31.8%)
CIE-LABlab(63.00, -54.41, 52.21)
CIE-LCHlch(63.00, 75.41, 136.18°)
OKLaboklab(66.3% -0.1486 0.1187)
OKLCHoklch(66.3% 0.19 141.4)
XYZxyz(17.8039, 31.5821, 8.0628)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AE31 #9F31AE
analogous
#7EAE31 #40AE31 #31AE60
triadic
#40AE31 #3140AE #AE3140
tetradic
#40AE31 #317EAE #9F31AE #AE6031
square
#40AE31 #317EAE #9F31AE #AE6031
split-complementary
#40AE31 #6031AE #AE317E
monochromatic
#1D4E16 #2E7E24 #40AE31 #5ECD4F #8ADB7F

Accessibility & contrast

On white

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

On black

7.32
#40AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AE31
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AE31#FFFFFF#000000##000000
##40AE311.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1C
Deuteranopia (green-blind)
#A5953D
Tritanopia (blue-blind)
#2DA995
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ae31;
/* rgb */ color: rgb(64, 174, 49);
/* oklch */ color: oklch(66.3% 0.190 141.4);
Tailwind
colors: {
  custom: {
    50: '#82c771',
    500: '#40ae31',
    950: '#000000',
  },
}
SCSS
$custom: #40ae31;
$custom-light: #82c771;
$custom-dark: #000000;
JSON
{
  "hex": "#40ae31",
  "rgb": {
    "r": 64,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 112.8,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66302,
    "c": 0.19015,
    "h": 141.4
  },
  "luminance": 0.31584
}

Semantic roles & 50–950 ramp

primary
#40AE31
secondary
#BB77C4
accent
#48DFCD
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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