#40705F#40705F

#40705F is a mid, muted teal. Relative luminance 0.135; OKLCH L 50.6% C 0.060 H 169.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#40705F
RGBrgb(64, 112, 95)
HSLhsl(159, 27%, 35%)
HSVhsv(159, 43%, 44%)
CMYKcmyk(42.9%, 0%, 15.2%, 56.1%)
CIE-LABlab(43.51, -20.69, 4.37)
CIE-LCHlch(43.51, 21.14, 168.08°)
OKLaboklab(50.56% -0.0585 0.0112)
OKLCHoklch(50.56% 0.06 169.2)
XYZxyz(9.9733, 13.5039, 12.9052)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40705F #704051
analogous
#407047 #40705F #406970
triadic
#40705F #5F4070 #705F40
tetradic
#40705F #474070 #704051 #697040
square
#40705F #474070 #704051 #697040
split-complementary
#40705F #704069 #704740
monochromatic
#13221D #2A493E #40705F #569780 #78B29E

Accessibility & contrast

On white

5.67
#40705F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#40705F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40705F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40705F#FFFFFF#000000##FFFFFF
##40705F1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6A5E
Deuteranopia (green-blind)
#666460
Tritanopia (blue-blind)
#32716B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #40705f;
/* rgb */ color: rgb(64, 112, 95);
/* oklch */ color: oklch(50.6% 0.060 169.2);
Tailwind
colors: {
  custom: {
    50: '#77998c',
    500: '#40705f',
    950: '#000000',
  },
}
SCSS
$custom: #40705f;
$custom-light: #77998c;
$custom-dark: #000000;
JSON
{
  "hex": "#40705f",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 95
  },
  "hsl": {
    "h": 158.75,
    "s": 27.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.0596,
    "h": 169.2
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#40705F
secondary
#9D6F7F
accent
#6486C4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #40705F

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

Preview Lab → · Contrast checker → · Palette generator →

#40705F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva