#405147#405147

#405147 is a dark, muted green. Relative luminance 0.074; OKLCH L 41.7% C 0.027 H 159.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#405147
RGBrgb(64, 81, 71)
HSLhsl(145, 12%, 28%)
HSVhsv(145, 21%, 32%)
CMYKcmyk(21%, 0%, 12.3%, 68.2%)
CIE-LABlab(32.77, -8.99, 3.70)
CIE-LCHlch(32.77, 9.72, 157.62°)
OKLaboklab(41.71% -0.0252 0.0096)
OKLCHoklch(41.71% 0.027 159.2)
XYZxyz(6.1938, 7.4296, 7.0677)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405147 #51404A
analogous
#415140 #405147 #40514F
triadic
#405147 #474051 #514740
tetradic
#405147 #404151 #51404A #514F40
square
#405147 #404151 #51404A #514F40
split-complementary
#405147 #4F4051 #514041
monochromatic
#0E110F #252F29 #405147 #5B7365 #779483

Accessibility & contrast

On white

8.45
#405147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#405147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405147
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405147#FFFFFF#000000##FFFFFF
##4051471.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E47
Deuteranopia (green-blind)
#4E4C48
Tritanopia (blue-blind)
#3D514E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #405147;
/* rgb */ color: rgb(64, 81, 71);
/* oklch */ color: oklch(41.7% 0.027 159.2);
Tailwind
colors: {
  custom: {
    50: '#75817a',
    500: '#405147',
    950: '#000000',
  },
}
SCSS
$custom: #405147;
$custom-light: #75817a;
$custom-dark: #000000;
JSON
{
  "hex": "#405147",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 71
  },
  "hsl": {
    "h": 144.706,
    "s": 11.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4171,
    "c": 0.02699,
    "h": 159.2
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#405147
secondary
#806D78
accent
#739AB5
background
#F7F7F7
surface
#EDEEED
border
#C8C9C8
text
#080A09
muted
#7B7C7B

Preview Lab

Preview with #405147

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

Preview Lab → · Contrast checker → · Palette generator →

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