#40977E#40977E

#40977E is a mid, moderate teal. Relative luminance 0.247; OKLCH L 61.6% C 0.093 H 171.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#40977E
RGBrgb(64, 151, 126)
HSLhsl(163, 40%, 42%)
HSVhsv(163, 58%, 59%)
CMYKcmyk(57.6%, 0%, 16.6%, 40.8%)
CIE-LABlab(56.81, -32.42, 5.37)
CIE-LCHlch(56.81, 32.87, 170.60°)
OKLaboklab(61.6% -0.0916 0.0137)
OKLCHoklch(61.6% 0.093 171.5)
XYZxyz(16.9451, 24.7279, 23.6146)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40977E #974059
analogous
#409753 #40977E #408497
triadic
#40977E #7E4097 #977E40
tetradic
#40977E #534097 #974059 #849740
square
#40977E #534097 #974059 #849740
split-complementary
#40977E #974084 #975340
monochromatic
#1C4136 #2E6C5A #40977E #5BB99E #86CCB8

Accessibility & contrast

On white

3.53
#40977E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#40977E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40977E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40977E#FFFFFF#000000##000000
##40977E1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7D
Deuteranopia (green-blind)
#868480
Tritanopia (blue-blind)
#0B9890
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40977e;
/* rgb */ color: rgb(64, 151, 126);
/* oklch */ color: oklch(61.6% 0.093 171.5);
Tailwind
colors: {
  custom: {
    50: '#7db6a3',
    500: '#40977e',
    950: '#000000',
  },
}
SCSS
$custom: #40977e;
$custom-light: #7db6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40977e",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 126
  },
  "hsl": {
    "h": 162.759,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.09257,
    "h": 171.5
  },
  "luminance": 0.2473
}

Semantic roles & 50–950 ramp

primary
#40977E
secondary
#B67D8D
accent
#577AD0
background
#F8FBFA
surface
#EFF6F3
border
#CAD0CD
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #40977E

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

Preview Lab → · Contrast checker → · Palette generator →

#40977E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva