#40AB31#40AB31

#40AB31 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.5% C 0.187 H 141.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#40AB31
RGBrgb(64, 171, 49)
HSLhsl(113, 55%, 43%)
HSVhsv(113, 71%, 67%)
CMYKcmyk(62.6%, 0%, 71.3%, 32.9%)
CIE-LABlab(62.03, -53.35, 51.21)
CIE-LCHlch(62.03, 73.95, 136.17°)
OKLaboklab(65.5% -0.1457 0.1166)
OKLCHoklch(65.5% 0.187 141.3)
XYZxyz(17.2308, 30.4359, 7.8718)
Luminance0.3044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB31 #9C31AB
analogous
#7DAB31 #40AB31 #31AB5F
triadic
#40AB31 #3140AB #AB3140
tetradic
#40AB31 #317DAB #9C31AB #AB5F31
square
#40AB31 #317DAB #9C31AB #AB5F31
split-complementary
#40AB31 #5F31AB #AB317D
monochromatic
#1C4C16 #2E7B23 #40AB31 #5DCC4D #88DA7D

Accessibility & contrast

On white

2.96
#40AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#40AB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB31
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB31#FFFFFF#000000##000000
##40AB311.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#A2933D
Tritanopia (blue-blind)
#2EA693
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab31;
/* rgb */ color: rgb(64, 171, 49);
/* oklch */ color: oklch(65.5% 0.187 141.3);
Tailwind
colors: {
  custom: {
    50: '#82c570',
    500: '#40ab31',
    950: '#000000',
  },
}
SCSS
$custom: #40ab31;
$custom-light: #82c570;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab31",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 112.623,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65501,
    "c": 0.18659,
    "h": 141.3
  },
  "luminance": 0.30438
}

Semantic roles & 50–950 ramp

primary
#40AB31
secondary
#B975C2
accent
#49DFCC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AB31

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

Preview Lab → · Contrast checker → · Palette generator →

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