#40956E#40956E

#40956E is a mid, moderate teal. Relative luminance 0.237; OKLCH L 60.7% C 0.103 H 161.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#40956E
RGBrgb(64, 149, 110)
HSLhsl(152, 40%, 42%)
HSVhsv(152, 57%, 58%)
CMYKcmyk(57%, 0%, 26.2%, 41.6%)
CIE-LABlab(55.80, -35.27, 13.01)
CIE-LCHlch(55.80, 37.59, 159.75°)
OKLaboklab(60.65% -0.097 0.0332)
OKLCHoklch(60.65% 0.103 161.1)
XYZxyz(15.6749, 23.7092, 18.4991)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40956E #954067
analogous
#409544 #40956E #409295
triadic
#40956E #6E4095 #956E40
tetradic
#40956E #444095 #954067 #929540
square
#40956E #444095 #954067 #929540
split-complementary
#40956E #954092 #954440
monochromatic
#1B3F2F #2E6A4E #40956E #5AB88D #85CBAB

Accessibility & contrast

On white

3.66
#40956E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#40956E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40956E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40956E#FFFFFF#000000##000000
##40956E1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938B6C
Deuteranopia (green-blind)
#878270
Tritanopia (blue-blind)
#1F958A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40956e;
/* rgb */ color: rgb(64, 149, 110);
/* oklch */ color: oklch(60.7% 0.103 161.1);
Tailwind
colors: {
  custom: {
    50: '#7cb597',
    500: '#40956e',
    950: '#000000',
  },
}
SCSS
$custom: #40956e;
$custom-light: #7cb597;
$custom-dark: #000000;
JSON
{
  "hex": "#40956e",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 110
  },
  "hsl": {
    "h": 152.471,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60651,
    "c": 0.10253,
    "h": 161.1
  },
  "luminance": 0.23711
}

Semantic roles & 50–950 ramp

primary
#40956E
secondary
#B57C96
accent
#588FD0
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110D
muted
#7C807E

Preview Lab

Preview with #40956E

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

Preview Lab → · Contrast checker → · Palette generator →

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