#40A06E#40A06E

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

Color values

HEX#40A06E
RGBrgb(64, 160, 110)
HSLhsl(149, 43%, 44%)
HSVhsv(149, 60%, 63%)
CMYKcmyk(60%, 0%, 31.2%, 37.3%)
CIE-LABlab(59.30, -40.14, 17.86)
CIE-LCHlch(59.30, 43.93, 156.01°)
OKLaboklab(63.52% -0.1094 0.0452)
OKLCHoklch(63.52% 0.118 157.5)
XYZxyz(17.4981, 27.3557, 19.1069)
Luminance0.2736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A06E #A04072
analogous
#42A040 #40A06E #40A09E
triadic
#40A06E #6E40A0 #A06E40
tetradic
#40A06E #4042A0 #A04072 #A09E40
square
#40A06E #4042A0 #A04072 #A09E40
split-complementary
#40A06E #9E40A0 #A04042
monochromatic
#1D4932 #2F7450 #40A06E #5EBF8D #8AD0AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A06E#FFFFFF#000000##000000
##40A06E1.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)
#9F946B
Deuteranopia (green-blind)
#928B71
Tritanopia (blue-blind)
#199F93
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a06e;
/* rgb */ color: rgb(64, 160, 110);
/* oklch */ color: oklch(63.5% 0.118 157.5);
Tailwind
colors: {
  custom: {
    50: '#7ebd97',
    500: '#40a06e',
    950: '#000000',
  },
}
SCSS
$custom: #40a06e;
$custom-light: #7ebd97;
$custom-dark: #000000;
JSON
{
  "hex": "#40a06e",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 110
  },
  "hsl": {
    "h": 148.75,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63518,
    "c": 0.11843,
    "h": 157.5
  },
  "luminance": 0.27357
}

Semantic roles & 50–950 ramp

primary
#40A06E
secondary
#BB819F
accent
#5597D3
background
#F8FBF9
surface
#EFF6F2
border
#CAD0CC
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A06E

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

Preview Lab → · Contrast checker → · Palette generator →

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