#40795E#40795E

#40795E is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.075 H 161.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#40795E
RGBrgb(64, 121, 94)
HSLhsl(152, 31%, 36%)
HSVhsv(152, 47%, 47%)
CMYKcmyk(47.1%, 0%, 22.3%, 52.5%)
CIE-LABlab(46.41, -25.55, 9.08)
CIE-LCHlch(46.41, 27.12, 160.44°)
OKLaboklab(52.89% -0.0708 0.0233)
OKLCHoklch(52.89% 0.075 161.8)
XYZxyz(10.9712, 15.5721, 13.0151)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40795E #79405B
analogous
#407942 #40795E #407879
triadic
#40795E #5E4079 #795E40
tetradic
#40795E #424079 #79405B #787940
square
#40795E #424079 #79405B #787940
split-complementary
#40795E #794078 #794240
monochromatic
#162920 #2B513F #40795E #55A17D #7AB99B

Accessibility & contrast

On white

5.10
#40795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#40795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40795E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40795E#FFFFFF#000000##FFFFFF
##40795E1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77725D
Deuteranopia (green-blind)
#6F6B60
Tritanopia (blue-blind)
#307971
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #40795e;
/* rgb */ color: rgb(64, 121, 94);
/* oklch */ color: oklch(52.9% 0.075 161.8);
Tailwind
colors: {
  custom: {
    50: '#78a08b',
    500: '#40795e',
    950: '#000000',
  },
}
SCSS
$custom: #40795e;
$custom-light: #78a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#40795e",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 151.579,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.07457,
    "h": 161.8
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#40795E
secondary
#A47189
accent
#6191C7
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #40795E

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

Preview Lab → · Contrast checker → · Palette generator →

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