#40B197#40B197

#40B197 is a light, moderate teal. Relative luminance 0.348; OKLCH L 68.9% C 0.109 H 174.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#40B197
RGBrgb(64, 177, 151)
HSLhsl(166, 47%, 47%)
HSVhsv(166, 64%, 69%)
CMYKcmyk(63.8%, 0%, 14.7%, 30.6%)
CIE-LABlab(65.57, -38.12, 3.96)
CIE-LCHlch(65.57, 38.32, 174.07°)
OKLaboklab(68.94% -0.1084 0.0099)
OKLCHoklch(68.94% 0.109 174.8)
XYZxyz(23.4197, 34.7661, 34.7484)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B197 #B1405A
analogous
#40B15F #40B197 #4092B1
triadic
#40B197 #9740B1 #B19740
tetradic
#40B197 #5F40B1 #B1405A #92B140
square
#40B197 #5F40B1 #B1405A #92B140
split-complementary
#40B197 #B14092 #B15F40
monochromatic
#1F574A #308471 #40B197 #66C8B1 #93D8C8

Accessibility & contrast

On white

2.64
#40B197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#40B197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B197
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B197#FFFFFF#000000##000000
##40B1971.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA696
Deuteranopia (green-blind)
#9B9A99
Tritanopia (blue-blind)
#00B3A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b197;
/* rgb */ color: rgb(64, 177, 151);
/* oklch */ color: oklch(68.9% 0.109 174.8);
Tailwind
colors: {
  custom: {
    50: '#82c9b5',
    500: '#40b197',
    950: '#000000',
  },
}
SCSS
$custom: #40b197;
$custom-light: #82c9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#40b197",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 151
  },
  "hsl": {
    "h": 166.195,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.68944,
    "c": 0.10888,
    "h": 174.8
  },
  "luminance": 0.34769
}

Semantic roles & 50–950 ramp

primary
#40B197
secondary
#C38997
accent
#5170D7
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #40B197

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

Preview Lab → · Contrast checker → · Palette generator →

#40B197 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva