#40755C#40755C

#40755C is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.8% C 0.070 H 162.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#40755C
RGBrgb(64, 117, 92)
HSLhsl(152, 29%, 35%)
HSVhsv(152, 45%, 46%)
CMYKcmyk(45.3%, 0%, 21.4%, 54.1%)
CIE-LABlab(45.06, -23.99, 8.36)
CIE-LCHlch(45.06, 25.40, 160.79°)
OKLaboklab(51.78% -0.0666 0.0215)
OKLCHoklch(51.78% 0.07 162.1)
XYZxyz(10.4066, 14.5845, 12.3899)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40755C #754059
analogous
#407541 #40755C #407375
triadic
#40755C #5C4075 #755C40
tetradic
#40755C #414075 #754059 #737540
square
#40755C #414075 #754059 #737540
split-complementary
#40755C #754073 #754140
monochromatic
#15261E #2A4D3D #40755C #569D7B #79B699

Accessibility & contrast

On white

5.36
#40755C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#40755C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40755C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40755C#FFFFFF#000000##FFFFFF
##40755C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746E5B
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#32756E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #40755c;
/* rgb */ color: rgb(64, 117, 92);
/* oklch */ color: oklch(51.8% 0.070 162.1);
Tailwind
colors: {
  custom: {
    50: '#789d8a',
    500: '#40755c',
    950: '#000000',
  },
}
SCSS
$custom: #40755c;
$custom-light: #789d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#40755c",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 92
  },
  "hsl": {
    "h": 151.698,
    "s": 29.282,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.07001,
    "h": 162.1
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#40755C
secondary
#A17087
accent
#6291C6
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0B
muted
#7B7E7C

Preview Lab

Preview with #40755C

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

Preview Lab → · Contrast checker → · Palette generator →

#40755C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva