#3A4E42#3A4E42

#3A4E42 is a dark, muted green. Relative luminance 0.067; OKLCH L 40.3% C 0.032 H 158.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#3A4E42
RGBrgb(58, 78, 66)
HSLhsl(144, 15%, 27%)
HSVhsv(144, 26%, 31%)
CMYKcmyk(25.6%, 0%, 15.4%, 69.4%)
CIE-LABlab(31.21, -10.66, 4.59)
CIE-LCHlch(31.21, 11.61, 156.70°)
OKLaboklab(40.31% -0.0298 0.0119)
OKLCHoklch(40.31% 0.032 158.3)
XYZxyz(5.4524, 6.7415, 6.1672)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E42 #4E3A46
analogous
#3C4E3A #3A4E42 #3A4E4C
triadic
#3A4E42 #423A4E #4E423A
tetradic
#3A4E42 #3A3C4E #4E3A46 #4E4C3A
square
#3A4E42 #3A3C4E #4E3A46 #4E4C3A
split-complementary
#3A4E42 #4C3A4E #4E3A3C
monochromatic
#0D120F #202B24 #3A4E42 #547160 #6F947E

Accessibility & contrast

On white

8.94
#3A4E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3A4E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E42
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E42#FFFFFF#000000##FFFFFF
##3A4E421.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B41
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#364E4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a4e42;
/* rgb */ color: rgb(58, 78, 66);
/* oklch */ color: oklch(40.3% 0.032 158.3);
Tailwind
colors: {
  custom: {
    50: '#707f76',
    500: '#3a4e42',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e42;
$custom-light: #707f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e42",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 66
  },
  "hsl": {
    "h": 144,
    "s": 14.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.03206,
    "h": 158.3
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#3A4E42
secondary
#7E6674
accent
#709BB7
background
#F6F7F7
surface
#ECEEED
border
#C7C9C8
text
#070A08
muted
#7A7C7B

Preview Lab

Preview with #3A4E42

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

Preview Lab → · Contrast checker → · Palette generator →

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