#408162#408162

#408162 is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.1% C 0.083 H 161.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#408162
RGBrgb(64, 129, 98)
HSLhsl(151, 34%, 38%)
HSVhsv(151, 50%, 51%)
CMYKcmyk(50.4%, 0%, 24%, 49.4%)
CIE-LABlab(49.10, -28.58, 10.52)
CIE-LCHlch(49.10, 30.46, 159.80°)
OKLaboklab(55.1% -0.079 0.0269)
OKLCHoklch(55.1% 0.083 161.2)
XYZxyz(12.1682, 17.6714, 14.3226)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408162 #81405F
analogous
#408141 #408162 #407F81
triadic
#408162 #624081 #816240
tetradic
#408162 #414081 #81405F #7F8140
square
#408162 #414081 #81405F #7F8140
split-complementary
#408162 #81407F #814140
monochromatic
#172F24 #2C5843 #408162 #54AA81 #7DBE9F

Accessibility & contrast

On white

4.63
#408162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#408162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #408162
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408162#FFFFFF#000000##FFFFFF
##4081621.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7960
Deuteranopia (green-blind)
#767264
Tritanopia (blue-blind)
#2C8178
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #408162;
/* rgb */ color: rgb(64, 129, 98);
/* oklch */ color: oklch(55.1% 0.083 161.2);
Tailwind
colors: {
  custom: {
    50: '#79a68e',
    500: '#408162',
    950: '#000000',
  },
}
SCSS
$custom: #408162;
$custom-light: #79a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#408162",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 151.385,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55103,
    "c": 0.08343,
    "h": 161.2
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#408162
secondary
#A9748D
accent
#5E91CA
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#090F0C
muted
#7B7F7D

Preview Lab

Preview with #408162

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

Preview Lab → · Contrast checker → · Palette generator →

#408162 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva