#40765F#40765F

#40765F is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.1% C 0.069 H 164.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#40765F
RGBrgb(64, 118, 95)
HSLhsl(154, 30%, 36%)
HSVhsv(154, 46%, 46%)
CMYKcmyk(45.8%, 0%, 19.5%, 53.7%)
CIE-LABlab(45.46, -23.80, 7.15)
CIE-LCHlch(45.46, 24.85, 163.29°)
OKLaboklab(52.13% -0.0665 0.0184)
OKLCHoklch(52.13% 0.069 164.5)
XYZxyz(10.6575, 14.8723, 13.1333)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40765F #764057
analogous
#407644 #40765F #407276
triadic
#40765F #5F4076 #765F40
tetradic
#40765F #444076 #764057 #727640
square
#40765F #444076 #764057 #727640
split-complementary
#40765F #764072 #764440
monochromatic
#15271F #2A4E3F #40765F #569E7F #7AB79D

Accessibility & contrast

On white

5.28
#40765F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#40765F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40765F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40765F#FFFFFF#000000##FFFFFF
##40765F1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746F5E
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#30766F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #40765f;
/* rgb */ color: rgb(64, 118, 95);
/* oklch */ color: oklch(52.1% 0.069 164.5);
Tailwind
colors: {
  custom: {
    50: '#789e8c',
    500: '#40765f',
    950: '#000000',
  },
}
SCSS
$custom: #40765f;
$custom-light: #789e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40765f",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 95
  },
  "hsl": {
    "h": 154.444,
    "s": 29.67,
    "l": 35.686
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.06895,
    "h": 164.5
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#40765F
secondary
#A17085
accent
#628CC6
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #40765F

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

Preview Lab → · Contrast checker → · Palette generator →

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