#40997F#40997F

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

Color values

HEX#40997F
RGBrgb(64, 153, 127)
HSLhsl(162, 41%, 43%)
HSVhsv(162, 58%, 60%)
CMYKcmyk(58.2%, 0%, 17%, 40%)
CIE-LABlab(57.47, -33.11, 5.74)
CIE-LCHlch(57.47, 33.61, 170.16°)
OKLaboklab(62.15% -0.0934 0.0147)
OKLCHoklch(62.15% 0.095 171.1)
XYZxyz(17.3346, 25.4031, 24.0643)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40997F #99405A
analogous
#409952 #40997F #408699
triadic
#40997F #7F4099 #997F40
tetradic
#40997F #524099 #99405A #869940
square
#40997F #524099 #99405A #869940
split-complementary
#40997F #994086 #995240
monochromatic
#1C4337 #2E6E5B #40997F #5CBB9F #87CDB8

Accessibility & contrast

On white

3.45
#40997F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40997F#FFFFFF#000000##000000
##40997F1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95907E
Deuteranopia (green-blind)
#888681
Tritanopia (blue-blind)
#079A91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #40997f;
/* rgb */ color: rgb(64, 153, 127);
/* oklch */ color: oklch(62.1% 0.095 171.1);
Tailwind
colors: {
  custom: {
    50: '#7db7a4',
    500: '#40997f',
    950: '#000000',
  },
}
SCSS
$custom: #40997f;
$custom-light: #7db7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40997f",
  "rgb": {
    "r": 64,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 162.472,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62145,
    "c": 0.0945,
    "h": 171.1
  },
  "luminance": 0.25405
}

Semantic roles & 50–950 ramp

primary
#40997F
secondary
#B77E8E
accent
#577BD1
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #40997F

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

Preview Lab → · Contrast checker → · Palette generator →

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