#40A77D#40A77D

#40A77D is a light, moderate teal. Relative luminance 0.302; OKLCH L 65.7% C 0.115 H 163.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#40A77D
RGBrgb(64, 167, 125)
HSLhsl(156, 45%, 45%)
HSVhsv(156, 62%, 65%)
CMYKcmyk(61.7%, 0%, 25.1%, 34.5%)
CIE-LABlab(61.83, -39.92, 13.06)
CIE-LCHlch(61.83, 42.00, 161.89°)
OKLaboklab(65.69% -0.11 0.0334)
OKLCHoklch(65.69% 0.115 163.1)
XYZxyz(19.6328, 30.2061, 24.1938)
Luminance0.3021 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A77D #A7406A
analogous
#40A749 #40A77D #409DA7
triadic
#40A77D #7D40A7 #A77D40
tetradic
#40A77D #4940A7 #A7406A #9DA740
square
#40A77D #4940A7 #A7406A #9DA740
split-complementary
#40A77D #A7409D #A74940
monochromatic
#1E4F3B #2F7B5C #40A77D #62C39B #8ED4B7

Accessibility & contrast

On white

2.98
#40A77D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#40A77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A77D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A77D#FFFFFF#000000##000000
##40A77D1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49B7B
Deuteranopia (green-blind)
#969180
Tritanopia (blue-blind)
#00A79B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a77d;
/* rgb */ color: rgb(64, 167, 125);
/* oklch */ color: oklch(65.7% 0.115 163.1);
Tailwind
colors: {
  custom: {
    50: '#7fc2a2',
    500: '#40a77d',
    950: '#000000',
  },
}
SCSS
$custom: #40a77d;
$custom-light: #7fc2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40a77d",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 125
  },
  "hsl": {
    "h": 155.534,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.65691,
    "c": 0.11492,
    "h": 163.1
  },
  "luminance": 0.30208
}

Semantic roles & 50–950 ramp

primary
#40A77D
secondary
#BF849C
accent
#5488D4
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B120F
muted
#7C817F

Preview Lab

Preview with #40A77D

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

Preview Lab → · Contrast checker → · Palette generator →

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