#40A347#40A347

#40A347 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.6% C 0.160 H 144.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#40A347
RGBrgb(64, 163, 71)
HSLhsl(124, 44%, 45%)
HSVhsv(124, 61%, 64%)
CMYKcmyk(60.7%, 0%, 56.4%, 36.1%)
CIE-LABlab(59.65, -48.02, 38.86)
CIE-LCHlch(59.65, 61.77, 141.02°)
OKLaboklab(63.61% -0.1301 0.0925)
OKLCHoklch(63.61% 0.16 144.6)
XYZxyz(16.3479, 27.7378, 10.4524)
Luminance0.2774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A347 #A3409C
analogous
#6BA340 #40A347 #40A378
triadic
#40A347 #4740A3 #A34740
tetradic
#40A347 #406BA3 #A3409C #A37840
square
#40A347 #406BA3 #A3409C #A37840
split-complementary
#40A347 #7840A3 #A3406B
monochromatic
#1D4B21 #2F7734 #40A347 #60C067 #8CD291

Accessibility & contrast

On white

3.21
#40A347 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#40A347 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A347
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A347#FFFFFF#000000##000000
##40A3471.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6953E
Deuteranopia (green-blind)
#998C4E
Tritanopia (blue-blind)
#2C9F8F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a347;
/* rgb */ color: rgb(64, 163, 71);
/* oklch */ color: oklch(63.6% 0.160 144.6);
Tailwind
colors: {
  custom: {
    50: '#7fbf7d',
    500: '#40a347',
    950: '#000000',
  },
}
SCSS
$custom: #40a347;
$custom-light: #7fbf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40a347",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 71
  },
  "hsl": {
    "h": 124.242,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63605,
    "c": 0.15967,
    "h": 144.6
  },
  "luminance": 0.27739
}

Semantic roles & 50–950 ramp

primary
#40A347
secondary
#BD82B8
accent
#54CAD3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A347

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

Preview Lab → · Contrast checker → · Palette generator →

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