#40A237#40A237

#40A237 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.1% C 0.171 H 141.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#40A237
RGBrgb(64, 162, 55)
HSLhsl(115, 49%, 43%)
HSVhsv(115, 66%, 64%)
CMYKcmyk(60.5%, 0%, 66%, 36.5%)
CIE-LABlab(59.16, -49.50, 45.70)
CIE-LCHlch(59.16, 67.37, 137.29°)
OKLaboklab(63.15% -0.135 0.1057)
OKLCHoklch(63.15% 0.171 141.9)
XYZxyz(15.7235, 27.2050, 8.0362)
Luminance0.2721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A237 #9937A2
analogous
#76A237 #40A237 #37A263
triadic
#40A237 #3740A2 #A23740
tetradic
#40A237 #3776A2 #9937A2 #A26337
square
#40A237 #3776A2 #9937A2 #A26337
split-complementary
#40A237 #6337A2 #A23776
monochromatic
#1C4718 #2E7427 #40A237 #5CC452 #87D480

Accessibility & contrast

On white

3.26
#40A237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#40A237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A237
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A237#FFFFFF#000000##000000
##40A2371.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69329
Deuteranopia (green-blind)
#9A8B40
Tritanopia (blue-blind)
#309D8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a237;
/* rgb */ color: rgb(64, 162, 55);
/* oklch */ color: oklch(63.1% 0.171 141.9);
Tailwind
colors: {
  custom: {
    50: '#80be73',
    500: '#40a237',
    950: '#000000',
  },
}
SCSS
$custom: #40a237;
$custom-light: #80be73;
$custom-dark: #000000;
JSON
{
  "hex": "#40a237",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 114.953,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6315,
    "c": 0.17142,
    "h": 141.9
  },
  "luminance": 0.27206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A237

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

Preview Lab → · Contrast checker → · Palette generator →

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