#3A4A40#3A4A40

#3A4A40 is a dark, muted green. Relative luminance 0.062; OKLCH L 39.2% C 0.026 H 157.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3A4A40
RGBrgb(58, 74, 64)
HSLhsl(143, 12%, 26%)
HSVhsv(143, 22%, 29%)
CMYKcmyk(21.6%, 0%, 13.5%, 71%)
CIE-LABlab(29.83, -8.72, 3.89)
CIE-LCHlch(29.83, 9.55, 155.94°)
OKLaboklab(39.19% -0.0244 0.0101)
OKLCHoklch(39.19% 0.026 157.5)
XYZxyz(5.1189, 6.1671, 5.7702)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4A40 #4A3A44
analogous
#3C4A3A #3A4A40 #3A4A48
triadic
#3A4A40 #403A4A #4A403A
tetradic
#3A4A40 #3A3C4A #4A3A44 #4A483A
square
#3A4A40 #3A3C4A #4A3A44 #4A483A
split-complementary
#3A4A40 #483A4A #4A3A3C
monochromatic
#0D110F #1F2822 #3A4A40 #556C5E #708F7B

Accessibility & contrast

On white

9.40
#3A4A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3A4A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4A40
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4A40#FFFFFF#000000##FFFFFF
##3A4A401.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A473F
Deuteranopia (green-blind)
#474541
Tritanopia (blue-blind)
#374A47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a4a40;
/* rgb */ color: rgb(58, 74, 64);
/* oklch */ color: oklch(39.2% 0.026 157.5);
Tailwind
colors: {
  custom: {
    50: '#707c74',
    500: '#3a4a40',
    950: '#000000',
  },
}
SCSS
$custom: #3a4a40;
$custom-light: #707c74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4a40",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 64
  },
  "hsl": {
    "h": 142.5,
    "s": 12.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.0264,
    "h": 157.5
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#3A4A40
secondary
#796672
accent
#739CB5
background
#F6F7F7
surface
#ECEEED
border
#C7C9C8
text
#070908
muted
#7A7B7B

Preview Lab

Preview with #3A4A40

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

Preview Lab → · Contrast checker → · Palette generator →

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