#3A5848#3A5848

#3A5848 is a dark, muted green. Relative luminance 0.083; OKLCH L 43.2% C 0.045 H 160.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3A5848
RGBrgb(58, 88, 72)
HSLhsl(148, 21%, 29%)
HSVhsv(148, 34%, 35%)
CMYKcmyk(34.1%, 0%, 18.2%, 65.5%)
CIE-LABlab(34.69, -15.05, 5.77)
CIE-LCHlch(34.69, 16.12, 159.01°)
OKLaboklab(43.16% -0.042 0.0149)
OKLCHoklch(43.16% 0.045 160.5)
XYZxyz(6.4039, 8.3465, 7.4032)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5848 #583A4A
analogous
#3B583A #3A5848 #3A5857
triadic
#3A5848 #483A58 #58483A
tetradic
#3A5848 #3A3B58 #583A4A #58573A
square
#3A5848 #3A3B58 #583A4A #58573A
split-complementary
#3A5848 #573A58 #583A3B
monochromatic
#0C120F #22332A #3A5848 #527D66 #6D9F85

Accessibility & contrast

On white

7.87
#3A5848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3A5848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5848
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5848#FFFFFF#000000##FFFFFF
##3A58481.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575447
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#345853
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a5848;
/* rgb */ color: rgb(58, 88, 72);
/* oklch */ color: oklch(43.2% 0.045 160.5);
Tailwind
colors: {
  custom: {
    50: '#71877b',
    500: '#3a5848',
    950: '#000000',
  },
}
SCSS
$custom: #3a5848;
$custom-light: #71877b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5848",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 72
  },
  "hsl": {
    "h": 148,
    "s": 20.548,
    "l": 28.627
  },
  "oklch": {
    "l": 0.43159,
    "c": 0.04456,
    "h": 160.5
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#3A5848
secondary
#886678
accent
#6B97BD
background
#F6F8F7
surface
#ECEFED
border
#C7CAC8
text
#080B09
muted
#7B7C7B

Preview Lab

Preview with #3A5848

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

Preview Lab → · Contrast checker → · Palette generator →

#3A5848 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva