#40B397#40B397

#40B397 is a light, moderate teal. Relative luminance 0.356; OKLCH L 69.4% C 0.111 H 173.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#40B397
RGBrgb(64, 179, 151)
HSLhsl(165, 47%, 48%)
HSVhsv(165, 64%, 70%)
CMYKcmyk(64.2%, 0%, 15.6%, 29.8%)
CIE-LABlab(66.18, -39.01, 4.85)
CIE-LCHlch(66.18, 39.31, 172.92°)
OKLaboklab(69.45% -0.1106 0.0122)
OKLCHoklch(69.45% 0.111 173.7)
XYZxyz(23.8176, 35.5620, 34.8811)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B397 #B3405C
analogous
#40B35D #40B397 #4096B3
triadic
#40B397 #9740B3 #B39740
tetradic
#40B397 #5D40B3 #B3405C #96B340
square
#40B397 #5D40B3 #B3405C #96B340
split-complementary
#40B397 #B34096 #B35D40
monochromatic
#20594B #308671 #40B397 #67C9B1 #94D9C8

Accessibility & contrast

On white

2.59
#40B397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#40B397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B397
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B397#FFFFFF#000000##000000
##40B3971.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA896
Deuteranopia (green-blind)
#9D9C99
Tritanopia (blue-blind)
#00B5AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b397;
/* rgb */ color: rgb(64, 179, 151);
/* oklch */ color: oklch(69.4% 0.111 173.7);
Tailwind
colors: {
  custom: {
    50: '#82cab5',
    500: '#40b397',
    950: '#000000',
  },
}
SCSS
$custom: #40b397;
$custom-light: #82cab5;
$custom-dark: #000000;
JSON
{
  "hex": "#40b397",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 151
  },
  "hsl": {
    "h": 165.391,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69448,
    "c": 0.11123,
    "h": 173.7
  },
  "luminance": 0.35565
}

Semantic roles & 50–950 ramp

primary
#40B397
secondary
#C48A99
accent
#5172D7
background
#F8FCFB
surface
#F0F8F6
border
#CBD1D0
text
#0C1311
muted
#7D8280

Preview Lab

Preview with #40B397

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

Preview Lab → · Contrast checker → · Palette generator →

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