#40A43A#40A43A

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

Color values

HEX#40A43A
RGBrgb(64, 164, 58)
HSLhsl(117, 48%, 44%)
HSVhsv(117, 65%, 64%)
CMYKcmyk(61%, 0%, 64.6%, 35.7%)
CIE-LABlab(59.84, -49.94, 45.13)
CIE-LCHlch(59.84, 67.31, 137.90°)
OKLaboklab(63.72% -0.136 0.1048)
OKLCHoklch(63.72% 0.172 142.4)
XYZxyz(16.1527, 27.9449, 8.5449)
Luminance0.2795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A43A #9E3AA4
analogous
#75A43A #40A43A #3AA469
triadic
#40A43A #3A40A4 #A43A40
tetradic
#40A43A #3A75A4 #9E3AA4 #A4693A
square
#40A43A #3A75A4 #9E3AA4 #A4693A
split-complementary
#40A43A #693AA4 #A43A75
monochromatic
#1D4A1A #2E772A #40A43A #5EC457 #89D485

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A43A#FFFFFF#000000##000000
##40A43A1.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)
#A8952D
Deuteranopia (green-blind)
#9B8D43
Tritanopia (blue-blind)
#2F9F8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a43a;
/* rgb */ color: rgb(64, 164, 58);
/* oklch */ color: oklch(63.7% 0.172 142.4);
Tailwind
colors: {
  custom: {
    50: '#80c075',
    500: '#40a43a',
    950: '#000000',
  },
}
SCSS
$custom: #40a43a;
$custom-light: #80c075;
$custom-dark: #000000;
JSON
{
  "hex": "#40a43a",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 58
  },
  "hsl": {
    "h": 116.604,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.63716,
    "c": 0.17168,
    "h": 142.4
  },
  "luminance": 0.27946
}

Semantic roles & 50–950 ramp

primary
#40A43A
secondary
#BA7CBE
accent
#50D7D0
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A43A

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

Preview Lab → · Contrast checker → · Palette generator →

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