#40B897#40B897

#40B897 is a light, moderate teal. Relative luminance 0.376; OKLCH L 70.7% C 0.117 H 171.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#40B897
RGBrgb(64, 184, 151)
HSLhsl(164, 48%, 49%)
HSVhsv(164, 65%, 72%)
CMYKcmyk(65.2%, 0%, 17.9%, 27.8%)
CIE-LABlab(67.73, -41.23, 7.06)
CIE-LCHlch(67.73, 41.83, 170.28°)
OKLaboklab(70.71% -0.1158 0.018)
OKLCHoklch(70.71% 0.117 171.2)
XYZxyz(24.8380, 37.6026, 35.2212)
Luminance0.3760 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B897 #B84061
analogous
#40B85B #40B897 #409DB8
triadic
#40B897 #9740B8 #B89740
tetradic
#40B897 #5B40B8 #B84061 #9DB840
square
#40B897 #5B40B8 #B84061 #9DB840
split-complementary
#40B897 #B8409D #B85B40
monochromatic
#205D4C #308B72 #40B897 #6ACBB0 #97DBC8

Accessibility & contrast

On white

2.46
#40B897 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#40B897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B897
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B897#FFFFFF#000000##000000
##40B8971.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AC95
Deuteranopia (green-blind)
#A2A099
Tritanopia (blue-blind)
#00B9AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #40b897;
/* rgb */ color: rgb(64, 184, 151);
/* oklch */ color: oklch(70.7% 0.117 171.2);
Tailwind
colors: {
  custom: {
    50: '#83ceb5',
    500: '#40b897',
    950: '#000000',
  },
}
SCSS
$custom: #40b897;
$custom-light: #83ceb5;
$custom-dark: #000000;
JSON
{
  "hex": "#40b897",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 151
  },
  "hsl": {
    "h": 163.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.11724,
    "h": 171.2
  },
  "luminance": 0.37605
}

Semantic roles & 50–950 ramp

primary
#40B897
secondary
#C78D9D
accent
#5075D8
background
#F8FCFB
surface
#F0F9F6
border
#CBD2D0
text
#0C1411
muted
#7D8280

Preview Lab

Preview with #40B897

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

Preview Lab → · Contrast checker → · Palette generator →

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