#40977B#40977B

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

Color values

HEX#40977B
RGBrgb(64, 151, 123)
HSLhsl(161, 40%, 42%)
HSVhsv(161, 58%, 59%)
CMYKcmyk(57.6%, 0%, 18.5%, 40.8%)
CIE-LABlab(56.73, -33.16, 6.97)
CIE-LCHlch(56.73, 33.89, 168.13°)
OKLaboklab(61.52% -0.093 0.0178)
OKLCHoklch(61.52% 0.095 169.1)
XYZxyz(16.7544, 24.6517, 22.6104)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40977B #97405C
analogous
#409750 #40977B #408797
triadic
#40977B #7B4097 #977B40
tetradic
#40977B #504097 #97405C #879740
square
#40977B #504097 #97405C #879740
split-complementary
#40977B #974087 #975040
monochromatic
#1C4135 #2E6C58 #40977B #5BB99B #86CCB5

Accessibility & contrast

On white

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

On black

5.93
#40977B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40977B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40977B#FFFFFF#000000##000000
##40977B1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7A
Deuteranopia (green-blind)
#86847D
Tritanopia (blue-blind)
#10988F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40977b;
/* rgb */ color: rgb(64, 151, 123);
/* oklch */ color: oklch(61.5% 0.095 169.1);
Tailwind
colors: {
  custom: {
    50: '#7db6a1',
    500: '#40977b',
    950: '#000000',
  },
}
SCSS
$custom: #40977b;
$custom-light: #7db6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40977b",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 123
  },
  "hsl": {
    "h": 160.69,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61517,
    "c": 0.09469,
    "h": 169.1
  },
  "luminance": 0.24653
}

Semantic roles & 50–950 ramp

primary
#40977B
secondary
#B67D8F
accent
#577ED0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #40977B

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

Preview Lab → · Contrast checker → · Palette generator →

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