#40A46C#40A46C

#40A46C is a light, vivid green. Relative luminance 0.287; OKLCH L 64.5% C 0.126 H 155.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#40A46C
RGBrgb(64, 164, 108)
HSLhsl(146, 44%, 45%)
HSVhsv(146, 61%, 64%)
CMYKcmyk(61%, 0%, 34.1%, 35.7%)
CIE-LABlab(60.54, -42.26, 20.64)
CIE-LCHlch(60.54, 47.03, 153.97°)
OKLaboklab(64.52% -0.1148 0.052)
OKLCHoklch(64.52% 0.126 155.6)
XYZxyz(18.0951, 28.7218, 18.7747)
Luminance0.2872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A46C #A44078
analogous
#46A440 #40A46C #40A49E
triadic
#40A46C #6C40A4 #A46C40
tetradic
#40A46C #4046A4 #A44078 #A49E40
square
#40A46C #4046A4 #A44078 #A49E40
split-complementary
#40A46C #9E40A4 #A44046
monochromatic
#1E4C32 #2F784F #40A46C #60C18B #8CD2AB

Accessibility & contrast

On white

3.11
#40A46C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#40A46C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A46C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A46C#FFFFFF#000000##000000
##40A46C1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39868
Deuteranopia (green-blind)
#968E70
Tritanopia (blue-blind)
#18A295
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a46c;
/* rgb */ color: rgb(64, 164, 108);
/* oklch */ color: oklch(64.5% 0.126 155.6);
Tailwind
colors: {
  custom: {
    50: '#7fc096',
    500: '#40a46c',
    950: '#000000',
  },
}
SCSS
$custom: #40a46c;
$custom-light: #7fc096;
$custom-dark: #000000;
JSON
{
  "hex": "#40a46c",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 108
  },
  "hsl": {
    "h": 146.4,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64516,
    "c": 0.12605,
    "h": 155.6
  },
  "luminance": 0.28724
}

Semantic roles & 50–950 ramp

primary
#40A46C
secondary
#BD83A3
accent
#549CD4
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A46C

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

Preview Lab → · Contrast checker → · Palette generator →

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