#40AD31#40AD31

#40AD31 is a light, vivid green. Relative luminance 0.312; OKLCH L 66.0% C 0.189 H 141.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#40AD31
RGBrgb(64, 173, 49)
HSLhsl(113, 56%, 44%)
HSVhsv(113, 72%, 68%)
CMYKcmyk(63%, 0%, 71.7%, 32.2%)
CIE-LABlab(62.67, -54.06, 51.88)
CIE-LCHlch(62.67, 74.93, 136.18°)
OKLaboklab(66.04% -0.1476 0.118)
OKLCHoklch(66.04% 0.189 141.4)
XYZxyz(17.6114, 31.1972, 7.9987)
Luminance0.3120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AD31 #9E31AD
analogous
#7EAD31 #40AD31 #31AD60
triadic
#40AD31 #3140AD #AD3140
tetradic
#40AD31 #317EAD #9E31AD #AD6031
square
#40AD31 #317EAD #9E31AD #AD6031
split-complementary
#40AD31 #6031AD #AD317E
monochromatic
#1D4E16 #2E7D23 #40AD31 #5ECD4E #89DA7E

Accessibility & contrast

On white

2.90
#40AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#40AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AD31
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AD31#FFFFFF#000000##000000
##40AD311.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#A4943D
Tritanopia (blue-blind)
#2EA895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ad31;
/* rgb */ color: rgb(64, 173, 49);
/* oklch */ color: oklch(66.0% 0.189 141.4);
Tailwind
colors: {
  custom: {
    50: '#82c670',
    500: '#40ad31',
    950: '#000000',
  },
}
SCSS
$custom: #40ad31;
$custom-light: #82c670;
$custom-dark: #000000;
JSON
{
  "hex": "#40ad31",
  "rgb": {
    "r": 64,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 112.742,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66035,
    "c": 0.18897,
    "h": 141.4
  },
  "luminance": 0.31199
}

Semantic roles & 50–950 ramp

primary
#40AD31
secondary
#BA77C3
accent
#49DFCD
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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