#40896E#40896E

#40896E is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.5% C 0.085 H 166.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#40896E
RGBrgb(64, 137, 110)
HSLhsl(158, 36%, 39%)
HSVhsv(158, 53%, 54%)
CMYKcmyk(53.3%, 0%, 19.7%, 46.3%)
CIE-LABlab(51.96, -29.66, 7.61)
CIE-LCHlch(51.96, 30.62, 165.61°)
OKLaboklab(57.52% -0.0828 0.0195)
OKLCHoklch(57.52% 0.085 166.7)
XYZxyz(13.8732, 20.1059, 17.8986)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40896E #89405B
analogous
#40894A #40896E #408089
triadic
#40896E #6E4089 #896E40
tetradic
#40896E #4A4089 #89405B #808940
square
#40896E #4A4089 #89405B #808940
split-complementary
#40896E #894080 #894A40
monochromatic
#19362B #2D5F4D #40896E #56B08F #80C4AB

Accessibility & contrast

On white

4.18
#40896E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#40896E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40896E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40896E#FFFFFF#000000##000000
##40896E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86816D
Deuteranopia (green-blind)
#7B7970
Tritanopia (blue-blind)
#248981
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #40896e;
/* rgb */ color: rgb(64, 137, 110);
/* oklch */ color: oklch(57.5% 0.085 166.7);
Tailwind
colors: {
  custom: {
    50: '#7bac97',
    500: '#40896e',
    950: '#000000',
  },
}
SCSS
$custom: #40896e;
$custom-light: #7bac97;
$custom-dark: #000000;
JSON
{
  "hex": "#40896e",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 110
  },
  "hsl": {
    "h": 157.808,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.08512,
    "h": 166.7
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#40896E
secondary
#AE778B
accent
#5B85CC
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A100D
muted
#7C7F7E

Preview Lab

Preview with #40896E

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

Preview Lab → · Contrast checker → · Palette generator →

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