#40A43C#40A43C

#40A43C is a light, vivid green. Relative luminance 0.280; OKLCH L 63.7% C 0.170 H 142.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#40A43C
RGBrgb(64, 164, 60)
HSLhsl(118, 46%, 44%)
HSVhsv(118, 63%, 64%)
CMYKcmyk(61%, 0%, 63.4%, 35.7%)
CIE-LABlab(59.86, -49.72, 44.26)
CIE-LCHlch(59.86, 66.57, 138.33°)
OKLaboklab(63.74% -0.1353 0.1032)
OKLCHoklch(63.74% 0.17 142.7)
XYZxyz(16.2045, 27.9656, 8.8180)
Luminance0.2797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A43C #A03CA4
analogous
#74A43C #40A43C #3CA46C
triadic
#40A43C #3C40A4 #A43C40
tetradic
#40A43C #3C74A4 #A03CA4 #A46C3C
square
#40A43C #3C74A4 #A03CA4 #A46C3C
split-complementary
#40A43C #6C3CA4 #A43C74
monochromatic
#1D4A1B #2F772C #40A43C #5EC35A #8AD387

Accessibility & contrast

On white

3.19
#40A43C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#40A43C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A43C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A43C#FFFFFF#000000##000000
##40A43C1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89530
Deuteranopia (green-blind)
#9B8D45
Tritanopia (blue-blind)
#2E9F8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a43c;
/* rgb */ color: rgb(64, 164, 60);
/* oklch */ color: oklch(63.7% 0.170 142.7);
Tailwind
colors: {
  custom: {
    50: '#80c076',
    500: '#40a43c',
    950: '#000000',
  },
}
SCSS
$custom: #40a43c;
$custom-light: #80c076;
$custom-dark: #000000;
JSON
{
  "hex": "#40a43c",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 60
  },
  "hsl": {
    "h": 117.692,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63737,
    "c": 0.17013,
    "h": 142.7
  },
  "luminance": 0.27967
}

Semantic roles & 50–950 ramp

primary
#40A43C
secondary
#BB7EBD
accent
#52D6D1
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A43C

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

Preview Lab → · Contrast checker → · Palette generator →

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