#40A137#40A137

#40A137 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.9% C 0.170 H 141.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#40A137
RGBrgb(64, 161, 55)
HSLhsl(115, 49%, 42%)
HSVhsv(115, 66%, 63%)
CMYKcmyk(60.2%, 0%, 65.8%, 36.9%)
CIE-LABlab(58.84, -49.13, 45.34)
CIE-LCHlch(58.84, 66.86, 137.29°)
OKLaboklab(62.88% -0.134 0.1049)
OKLCHoklch(62.88% 0.17 141.9)
XYZxyz(15.5480, 26.8541, 7.9777)
Luminance0.2686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A137 #9837A1
analogous
#75A137 #40A137 #37A163
triadic
#40A137 #3740A1 #A13740
tetradic
#40A137 #3775A1 #9837A1 #A16337
square
#40A137 #3775A1 #9837A1 #A16337
split-complementary
#40A137 #6337A1 #A13775
monochromatic
#1C4618 #2E7327 #40A137 #5BC451 #86D37F

Accessibility & contrast

On white

3.30
#40A137 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#40A137 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A137
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A137#FFFFFF#000000##000000
##40A1371.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932A
Deuteranopia (green-blind)
#998A40
Tritanopia (blue-blind)
#319C8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a137;
/* rgb */ color: rgb(64, 161, 55);
/* oklch */ color: oklch(62.9% 0.170 141.9);
Tailwind
colors: {
  custom: {
    50: '#80be73',
    500: '#40a137',
    950: '#000000',
  },
}
SCSS
$custom: #40a137;
$custom-light: #80be73;
$custom-dark: #000000;
JSON
{
  "hex": "#40a137",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 114.906,
    "s": 49.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62882,
    "c": 0.17016,
    "h": 141.9
  },
  "luminance": 0.26856
}

Semantic roles & 50–950 ramp

primary
#40A137
secondary
#B777BD
accent
#4FD9CD
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A137

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

Preview Lab → · Contrast checker → · Palette generator →

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