#3A5145#3A5145

#3A5145 is a dark, muted green. Relative luminance 0.072; OKLCH L 41.2% C 0.035 H 161.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#3A5145
RGBrgb(58, 81, 69)
HSLhsl(149, 17%, 27%)
HSVhsv(149, 28%, 32%)
CMYKcmyk(28.4%, 0%, 14.8%, 68.2%)
CIE-LABlab(32.29, -11.73, 4.23)
CIE-LCHlch(32.29, 12.47, 160.19°)
OKLaboklab(41.2% -0.0329 0.0109)
OKLCHoklch(41.2% 0.035 161.6)
XYZxyz(5.7612, 7.2138, 6.7179)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5145 #513A46
analogous
#3A513A #3A5145 #3A5151
triadic
#3A5145 #453A51 #51453A
tetradic
#3A5145 #3A3A51 #513A46 #51513A
square
#3A5145 #3A3A51 #513A46 #51513A
split-complementary
#3A5145 #513A51 #513A3A
monochromatic
#0D120F #202D27 #3A5145 #547563 #6E9782

Accessibility & contrast

On white

8.60
#3A5145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3A5145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5145
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5145#FFFFFF#000000##FFFFFF
##3A51451.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E44
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#35514D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a5145;
/* rgb */ color: rgb(58, 81, 69);
/* oklch */ color: oklch(41.2% 0.035 161.6);
Tailwind
colors: {
  custom: {
    50: '#708278',
    500: '#3a5145',
    950: '#000000',
  },
}
SCSS
$custom: #3a5145;
$custom-light: #708278;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5145",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 148.696,
    "s": 16.547,
    "l": 27.255
  },
  "oklch": {
    "l": 0.41201,
    "c": 0.03471,
    "h": 161.6
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#3A5145
secondary
#816674
accent
#6F96B9
background
#F6F7F7
surface
#ECEEED
border
#C7C9C8
text
#070A09
muted
#7A7C7B

Preview Lab

Preview with #3A5145

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

Preview Lab → · Contrast checker → · Palette generator →

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