#40A06D#40A06D

#40A06D is a light, moderate green. Relative luminance 0.273; OKLCH L 63.5% C 0.119 H 157.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#40A06D
RGBrgb(64, 160, 109)
HSLhsl(148, 43%, 44%)
HSVhsv(148, 60%, 63%)
CMYKcmyk(60%, 0%, 31.9%, 37.3%)
CIE-LABlab(59.28, -40.35, 18.39)
CIE-LCHlch(59.28, 44.34, 155.50°)
OKLaboklab(63.5% -0.1099 0.0465)
OKLCHoklch(63.5% 0.119 157.1)
XYZxyz(17.4440, 27.3340, 18.8217)
Luminance0.2734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A06D #A04073
analogous
#43A040 #40A06D #40A09D
triadic
#40A06D #6D40A0 #A06D40
tetradic
#40A06D #4043A0 #A04073 #A09D40
square
#40A06D #4043A0 #A04073 #A09D40
split-complementary
#40A06D #9D40A0 #A04043
monochromatic
#1D4931 #2F744F #40A06D #5EBF8C #8AD0AB

Accessibility & contrast

On white

3.25
#40A06D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#40A06D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A06D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A06D#FFFFFF#000000##000000
##40A06D1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F946A
Deuteranopia (green-blind)
#928B70
Tritanopia (blue-blind)
#1A9F93
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a06d;
/* rgb */ color: rgb(64, 160, 109);
/* oklch */ color: oklch(63.5% 0.119 157.1);
Tailwind
colors: {
  custom: {
    50: '#7ebd97',
    500: '#40a06d',
    950: '#000000',
  },
}
SCSS
$custom: #40a06d;
$custom-light: #7ebd97;
$custom-dark: #000000;
JSON
{
  "hex": "#40a06d",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 109
  },
  "hsl": {
    "h": 148.125,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63495,
    "c": 0.11937,
    "h": 157.1
  },
  "luminance": 0.27336
}

Semantic roles & 50–950 ramp

primary
#40A06D
secondary
#BB81A0
accent
#5598D3
background
#F8FBF9
surface
#EFF6F2
border
#CAD0CC
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A06D

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

Preview Lab → · Contrast checker → · Palette generator →

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