#40A786#40A786

#40A786 is a light, moderate teal. Relative luminance 0.304; OKLCH L 65.9% C 0.108 H 168.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#40A786
RGBrgb(64, 167, 134)
HSLhsl(161, 45%, 45%)
HSVhsv(161, 62%, 65%)
CMYKcmyk(61.7%, 0%, 19.8%, 34.5%)
CIE-LABlab(62.04, -37.82, 8.34)
CIE-LCHlch(62.04, 38.73, 167.56°)
OKLaboklab(65.93% -0.1056 0.0214)
OKLCHoklch(65.93% 0.108 168.6)
XYZxyz(20.2340, 30.4466, 27.3601)
Luminance0.3045 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A786 #A74061
analogous
#40A753 #40A786 #4094A7
triadic
#40A786 #8640A7 #A78640
tetradic
#40A786 #5340A7 #A74061 #94A740
square
#40A786 #5340A7 #A74061 #94A740
split-complementary
#40A786 #A74094 #A75340
monochromatic
#1E4F3F #2F7B62 #40A786 #62C3A4 #8ED4BD

Accessibility & contrast

On white

2.96
#40A786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#40A786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A786
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A786#FFFFFF#000000##000000
##40A7861.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39C84
Deuteranopia (green-blind)
#949288
Tritanopia (blue-blind)
#00A89E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a786;
/* rgb */ color: rgb(64, 167, 134);
/* oklch */ color: oklch(65.9% 0.108 168.6);
Tailwind
colors: {
  custom: {
    50: '#80c2a9',
    500: '#40a786',
    950: '#000000',
  },
}
SCSS
$custom: #40a786;
$custom-light: #80c2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#40a786",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 134
  },
  "hsl": {
    "h": 160.777,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.65928,
    "c": 0.10779,
    "h": 168.6
  },
  "luminance": 0.30449
}

Semantic roles & 50–950 ramp

primary
#40A786
secondary
#BF8497
accent
#547DD4
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B120F
muted
#7C817F

Preview Lab

Preview with #40A786

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

Preview Lab → · Contrast checker → · Palette generator →

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