#405848#405848

#405848 is a dark, muted green. Relative luminance 0.085; OKLCH L 43.6% C 0.039 H 155.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#405848
RGBrgb(64, 88, 72)
HSLhsl(140, 16%, 30%)
HSVhsv(140, 27%, 35%)
CMYKcmyk(27.3%, 0%, 18.2%, 65.5%)
CIE-LABlab(35.08, -12.86, 6.37)
CIE-LCHlch(35.08, 14.35, 153.65°)
OKLaboklab(43.57% -0.0357 0.0164)
OKLCHoklch(43.57% 0.039 155.3)
XYZxyz(6.7734, 8.5371, 7.4206)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405848 #584050
analogous
#445840 #405848 #405854
triadic
#405848 #484058 #584840
tetradic
#405848 #404458 #584050 #585440
square
#405848 #404458 #584050 #585440
split-complementary
#405848 #544058 #584044
monochromatic
#0D120E #26352B #405848 #5A7B65 #779C83

Accessibility & contrast

On white

7.76
#405848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#405848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405848
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405848#FFFFFF#000000##FFFFFF
##4058481.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585447
Deuteranopia (green-blind)
#545149
Tritanopia (blue-blind)
#3C5753
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #405848;
/* rgb */ color: rgb(64, 88, 72);
/* oklch */ color: oklch(43.6% 0.039 155.3);
Tailwind
colors: {
  custom: {
    50: '#75877b',
    500: '#405848',
    950: '#000000',
  },
}
SCSS
$custom: #405848;
$custom-light: #75877b;
$custom-dark: #000000;
JSON
{
  "hex": "#405848",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 72
  },
  "hsl": {
    "h": 140,
    "s": 15.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.03929,
    "h": 155.3
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#405848
secondary
#876C7E
accent
#6FA0B9
background
#F7F8F7
surface
#EDEFED
border
#C8CAC8
text
#080B09
muted
#7B7C7B

Preview Lab

Preview with #405848

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

Preview Lab → · Contrast checker → · Palette generator →

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