#40A337#40A337

#40A337 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.4% C 0.173 H 141.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#40A337
RGBrgb(64, 163, 55)
HSLhsl(115, 50%, 43%)
HSVhsv(115, 66%, 64%)
CMYKcmyk(60.7%, 0%, 66.3%, 36.1%)
CIE-LABlab(59.49, -49.88, 46.05)
CIE-LCHlch(59.49, 67.89, 137.28°)
OKLaboklab(63.42% -0.136 0.1064)
OKLCHoklch(63.42% 0.173 141.9)
XYZxyz(15.9003, 27.5587, 8.0951)
Luminance0.2756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A337 #9A37A3
analogous
#76A337 #40A337 #37A364
triadic
#40A337 #3740A3 #A33740
tetradic
#40A337 #3776A3 #9A37A3 #A36437
square
#40A337 #3776A3 #9A37A3 #A36437
split-complementary
#40A337 #6437A3 #A33776
monochromatic
#1C4718 #2E7528 #40A337 #5CC552 #87D480

Accessibility & contrast

On white

3.22
#40A337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#40A337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A337
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A337#FFFFFF#000000##000000
##40A3371.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79429
Deuteranopia (green-blind)
#9A8C41
Tritanopia (blue-blind)
#309E8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a337;
/* rgb */ color: rgb(64, 163, 55);
/* oklch */ color: oklch(63.4% 0.173 141.9);
Tailwind
colors: {
  custom: {
    50: '#80bf73',
    500: '#40a337',
    950: '#000000',
  },
}
SCSS
$custom: #40a337;
$custom-light: #80bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#40a337",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 115,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63417,
    "c": 0.17268,
    "h": 141.9
  },
  "luminance": 0.2756
}

Semantic roles & 50–950 ramp

primary
#40A337
secondary
#B878BE
accent
#4FD9CE
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A337

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

Preview Lab → · Contrast checker → · Palette generator →

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