#40997E#40997E

#40997E is a light, moderate teal. Relative luminance 0.254; OKLCH L 62.1% C 0.095 H 170.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#40997E
RGBrgb(64, 153, 126)
HSLhsl(162, 41%, 43%)
HSVhsv(162, 58%, 60%)
CMYKcmyk(58.2%, 0%, 17.6%, 40%)
CIE-LABlab(57.44, -33.36, 6.28)
CIE-LCHlch(57.44, 33.95, 169.35°)
OKLaboklab(62.12% -0.0938 0.016)
OKLCHoklch(62.12% 0.095 170.3)
XYZxyz(17.2697, 25.3771, 23.7228)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40997E #99405B
analogous
#409952 #40997E #408799
triadic
#40997E #7E4099 #997E40
tetradic
#40997E #524099 #99405B #879940
square
#40997E #524099 #99405B #879940
split-complementary
#40997E #994087 #995240
monochromatic
#1C4337 #2E6E5A #40997E #5CBB9E #87CDB7

Accessibility & contrast

On white

3.46
#40997E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#40997E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40997E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40997E#FFFFFF#000000##000000
##40997E1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95907D
Deuteranopia (green-blind)
#888680
Tritanopia (blue-blind)
#099A91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #40997e;
/* rgb */ color: rgb(64, 153, 126);
/* oklch */ color: oklch(62.1% 0.095 170.3);
Tailwind
colors: {
  custom: {
    50: '#7db7a3',
    500: '#40997e',
    950: '#000000',
  },
}
SCSS
$custom: #40997e;
$custom-light: #7db7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40997e",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 126
  },
  "hsl": {
    "h": 161.798,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62117,
    "c": 0.0952,
    "h": 170.3
  },
  "luminance": 0.25379
}

Semantic roles & 50–950 ramp

primary
#40997E
secondary
#B77E8F
accent
#577CD1
background
#F8FBFA
surface
#EFF6F3
border
#CAD0CD
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #40997E

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

Preview Lab → · Contrast checker → · Palette generator →

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