#40A16F#40A16F

#40A16F is a light, moderate green. Relative luminance 0.277; OKLCH L 63.8% C 0.119 H 157.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#40A16F
RGBrgb(64, 161, 111)
HSLhsl(149, 43%, 44%)
HSVhsv(149, 60%, 63%)
CMYKcmyk(60.2%, 0%, 31.1%, 36.9%)
CIE-LABlab(59.64, -40.36, 17.77)
CIE-LCHlch(59.64, 44.10, 156.24°)
OKLaboklab(63.8% -0.1101 0.045)
OKLCHoklch(63.8% 0.119 157.8)
XYZxyz(17.7269, 27.7257, 19.4532)
Luminance0.2773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A16F #A14072
analogous
#42A140 #40A16F #40A1A0
triadic
#40A16F #6F40A1 #A16F40
tetradic
#40A16F #4042A1 #A14072 #A1A040
square
#40A16F #4042A1 #A14072 #A1A040
split-complementary
#40A16F #A040A1 #A14042
monochromatic
#1D4933 #2F7551 #40A16F #5FBF8E #8BD1AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A16F#FFFFFF#000000##000000
##40A16F1.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)
#A0956C
Deuteranopia (green-blind)
#928C72
Tritanopia (blue-blind)
#17A094
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a16f;
/* rgb */ color: rgb(64, 161, 111);
/* oklch */ color: oklch(63.8% 0.119 157.8);
Tailwind
colors: {
  custom: {
    50: '#7ebd98',
    500: '#40a16f',
    950: '#000000',
  },
}
SCSS
$custom: #40a16f;
$custom-light: #7ebd98;
$custom-dark: #000000;
JSON
{
  "hex": "#40a16f",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 111
  },
  "hsl": {
    "h": 149.072,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63801,
    "c": 0.11893,
    "h": 157.8
  },
  "luminance": 0.27727
}

Semantic roles & 50–950 ramp

primary
#40A16F
secondary
#BC819F
accent
#5596D3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A16F

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

Preview Lab → · Contrast checker → · Palette generator →

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