#40977C#40977C

#40977C is a mid, moderate teal. Relative luminance 0.247; OKLCH L 61.5% C 0.094 H 169.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#40977C
RGBrgb(64, 151, 124)
HSLhsl(161, 40%, 42%)
HSVhsv(161, 58%, 59%)
CMYKcmyk(57.6%, 0%, 17.9%, 40.8%)
CIE-LABlab(56.76, -32.92, 6.44)
CIE-LCHlch(56.76, 33.54, 168.94°)
OKLaboklab(61.55% -0.0925 0.0165)
OKLCHoklch(61.55% 0.094 169.9)
XYZxyz(16.8173, 24.6768, 22.9417)
Luminance0.2468 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40977C #97405B
analogous
#409750 #40977C #408797
triadic
#40977C #7C4097 #977C40
tetradic
#40977C #504097 #97405B #879740
square
#40977C #504097 #97405B #879740
split-complementary
#40977C #974087 #975040
monochromatic
#1C4135 #2E6C59 #40977C #5BB99C #86CCB6

Accessibility & contrast

On white

3.54
#40977C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#40977C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40977C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40977C#FFFFFF#000000##000000
##40977C1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7B
Deuteranopia (green-blind)
#86847E
Tritanopia (blue-blind)
#0F988F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40977c;
/* rgb */ color: rgb(64, 151, 124);
/* oklch */ color: oklch(61.5% 0.094 169.9);
Tailwind
colors: {
  custom: {
    50: '#7db6a1',
    500: '#40977c',
    950: '#000000',
  },
}
SCSS
$custom: #40977c;
$custom-light: #7db6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40977c",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 124
  },
  "hsl": {
    "h": 161.379,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61545,
    "c": 0.09396,
    "h": 169.9
  },
  "luminance": 0.24678
}

Semantic roles & 50–950 ramp

primary
#40977C
secondary
#B67D8E
accent
#577DD0
background
#F8FBF9
surface
#EFF6F2
border
#CAD0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #40977C

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

Preview Lab → · Contrast checker → · Palette generator →

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