#40977F#40977F

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

Color values

HEX#40977F
RGBrgb(64, 151, 127)
HSLhsl(163, 40%, 42%)
HSVhsv(163, 58%, 59%)
CMYKcmyk(57.6%, 0%, 15.9%, 40.8%)
CIE-LABlab(56.83, -32.18, 4.84)
CIE-LCHlch(56.83, 32.54, 171.45°)
OKLaboklab(61.63% -0.0911 0.0123)
OKLCHoklch(61.63% 0.092 172.3)
XYZxyz(17.0099, 24.7539, 23.9561)
Luminance0.2476 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40977F #974058
analogous
#409753 #40977F #408497
triadic
#40977F #7F4097 #977F40
tetradic
#40977F #534097 #974058 #849740
square
#40977F #534097 #974058 #849740
split-complementary
#40977F #974084 #975340
monochromatic
#1C4137 #2E6C5B #40977F #5BB99F #86CCB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40977F#FFFFFF#000000##000000
##40977F1.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)
#938E7E
Deuteranopia (green-blind)
#868481
Tritanopia (blue-blind)
#099890
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #40977f;
/* rgb */ color: rgb(64, 151, 127);
/* oklch */ color: oklch(61.6% 0.092 172.3);
Tailwind
colors: {
  custom: {
    50: '#7db6a4',
    500: '#40977f',
    950: '#000000',
  },
}
SCSS
$custom: #40977f;
$custom-light: #7db6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40977f",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 127
  },
  "hsl": {
    "h": 163.448,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.0919,
    "h": 172.3
  },
  "luminance": 0.24756
}

Semantic roles & 50–950 ramp

primary
#40977F
secondary
#B67D8C
accent
#5779D0
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #40977F

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

Preview Lab → · Contrast checker → · Palette generator →

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