#40977A#40977A

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

Color values

HEX#40977A
RGBrgb(64, 151, 122)
HSLhsl(160, 40%, 42%)
HSVhsv(160, 58%, 59%)
CMYKcmyk(57.6%, 0%, 19.2%, 40.8%)
CIE-LABlab(56.71, -33.40, 7.50)
CIE-LCHlch(56.71, 34.24, 167.34°)
OKLaboklab(61.49% -0.0935 0.0192)
OKLCHoklch(61.49% 0.095 168.4)
XYZxyz(16.6921, 24.6268, 22.2824)
Luminance0.2463 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40977A #97405D
analogous
#40974F #40977A #408997
triadic
#40977A #7A4097 #977A40
tetradic
#40977A #4F4097 #97405D #899740
square
#40977A #4F4097 #97405D #899740
split-complementary
#40977A #974089 #974F40
monochromatic
#1C4135 #2E6C57 #40977A #5BB99A #86CCB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40977A#FFFFFF#000000##000000
##40977A1.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)
#938E79
Deuteranopia (green-blind)
#87847C
Tritanopia (blue-blind)
#12988F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40977a;
/* rgb */ color: rgb(64, 151, 122);
/* oklch */ color: oklch(61.5% 0.095 168.4);
Tailwind
colors: {
  custom: {
    50: '#7db6a0',
    500: '#40977a',
    950: '#000000',
  },
}
SCSS
$custom: #40977a;
$custom-light: #7db6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40977a",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 122
  },
  "hsl": {
    "h": 160,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.09544,
    "h": 168.4
  },
  "luminance": 0.24628
}

Semantic roles & 50–950 ramp

primary
#40977A
secondary
#B67D90
accent
#5780D0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #40977A

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

Preview Lab → · Contrast checker → · Palette generator →

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