#3A4E40#3A4E40

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

Color values

HEX#3A4E40
RGBrgb(58, 78, 64)
HSLhsl(138, 15%, 27%)
HSVhsv(138, 26%, 31%)
CMYKcmyk(25.6%, 0%, 17.9%, 69.4%)
CIE-LABlab(31.16, -11.11, 5.79)
CIE-LCHlch(31.16, 12.53, 152.50°)
OKLaboklab(40.25% -0.0308 0.0149)
OKLCHoklch(40.25% 0.034 154.1)
XYZxyz(5.3945, 6.7183, 5.8620)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E40 #4E3A48
analogous
#3E4E3A #3A4E40 #3A4E4A
triadic
#3A4E40 #403A4E #4E403A
tetradic
#3A4E40 #3A3E4E #4E3A48 #4E4A3A
square
#3A4E40 #3A3E4E #4E3A48 #4E4A3A
split-complementary
#3A4E40 #4A3A4E #4E3A3E
monochromatic
#0D120E #202B23 #3A4E40 #54715D #6F947A

Accessibility & contrast

On white

8.96
#3A4E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A4E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E40
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E40#FFFFFF#000000##FFFFFF
##3A4E401.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B3F
Deuteranopia (green-blind)
#4B4841
Tritanopia (blue-blind)
#374D4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a4e40;
/* rgb */ color: rgb(58, 78, 64);
/* oklch */ color: oklch(40.3% 0.034 154.1);
Tailwind
colors: {
  custom: {
    50: '#707f74',
    500: '#3a4e40',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e40;
$custom-light: #707f74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e40",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 64
  },
  "hsl": {
    "h": 138,
    "s": 14.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4025,
    "c": 0.03423,
    "h": 154.1
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#3A4E40
secondary
#7E6677
accent
#70A2B7
background
#F6F7F7
surface
#ECEEED
border
#C7C9C8
text
#070A08
muted
#7A7C7B

Preview Lab

Preview with #3A4E40

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

Preview Lab → · Contrast checker → · Palette generator →

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