#40A132#40A132

#40A132 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.8% C 0.174 H 141.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#40A132
RGBrgb(64, 161, 50)
HSLhsl(112, 53%, 41%)
HSVhsv(112, 69%, 63%)
CMYKcmyk(60.2%, 0%, 68.9%, 36.9%)
CIE-LABlab(58.80, -49.62, 47.42)
CIE-LCHlch(58.80, 68.63, 136.30°)
OKLaboklab(62.83% -0.1355 0.1087)
OKLCHoklch(62.83% 0.174 141.3)
XYZxyz(15.4342, 26.8086, 7.3782)
Luminance0.2681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A132 #9332A1
analogous
#78A132 #40A132 #32A15C
triadic
#40A132 #3240A1 #A13240
tetradic
#40A132 #3278A1 #9332A1 #A15C32
square
#40A132 #3278A1 #9332A1 #A15C32
split-complementary
#40A132 #5C32A1 #A13278
monochromatic
#1B4415 #2D7223 #40A132 #59C74A #84D578

Accessibility & contrast

On white

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

On black

6.36
#40A132 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A132
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A132#FFFFFF#000000##000000
##40A1321.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59222
Deuteranopia (green-blind)
#998A3C
Tritanopia (blue-blind)
#329C8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a132;
/* rgb */ color: rgb(64, 161, 50);
/* oklch */ color: oklch(62.8% 0.174 141.3);
Tailwind
colors: {
  custom: {
    50: '#80be70',
    500: '#40a132',
    950: '#000000',
  },
}
SCSS
$custom: #40a132;
$custom-light: #80be70;
$custom-dark: #000000;
JSON
{
  "hex": "#40a132",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 50
  },
  "hsl": {
    "h": 112.432,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62833,
    "c": 0.17377,
    "h": 141.3
  },
  "luminance": 0.2681
}

Semantic roles & 50–950 ramp

primary
#40A132
secondary
#B471BE
accent
#4CDCCA
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A132

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

Preview Lab → · Contrast checker → · Palette generator →

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