#40A346#40A346

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

Color values

HEX#40A346
RGBrgb(64, 163, 70)
HSLhsl(124, 44%, 45%)
HSVhsv(124, 61%, 64%)
CMYKcmyk(60.7%, 0%, 57.1%, 36.1%)
CIE-LABlab(59.64, -48.15, 39.33)
CIE-LCHlch(59.64, 62.17, 140.76°)
OKLaboklab(63.59% -0.1305 0.0934)
OKLCHoklch(63.59% 0.161 144.4)
XYZxyz(16.3161, 27.7250, 10.2848)
Luminance0.2773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A346 #A3409D
analogous
#6CA340 #40A346 #40A377
triadic
#40A346 #4640A3 #A34640
tetradic
#40A346 #406CA3 #A3409D #A37740
square
#40A346 #406CA3 #A3409D #A37740
split-complementary
#40A346 #7740A3 #A3406C
monochromatic
#1D4B20 #2F7733 #40A346 #60C066 #8CD290

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A346#FFFFFF#000000##000000
##40A3461.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)
#A6953D
Deuteranopia (green-blind)
#998C4D
Tritanopia (blue-blind)
#2C9F8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a346;
/* rgb */ color: rgb(64, 163, 70);
/* oklch */ color: oklch(63.6% 0.161 144.4);
Tailwind
colors: {
  custom: {
    50: '#7fbf7c',
    500: '#40a346',
    950: '#000000',
  },
}
SCSS
$custom: #40a346;
$custom-light: #7fbf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a346",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 70
  },
  "hsl": {
    "h": 123.636,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63591,
    "c": 0.16054,
    "h": 144.4
  },
  "luminance": 0.27727
}

Semantic roles & 50–950 ramp

primary
#40A346
secondary
#BD82B9
accent
#54CCD3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A346

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

Preview Lab → · Contrast checker → · Palette generator →

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