#3A5A42#3A5A42

#3A5A42 is a dark, muted green. Relative luminance 0.086; OKLCH L 43.5% C 0.055 H 151.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3A5A42
RGBrgb(58, 90, 66)
HSLhsl(135, 22%, 29%)
HSVhsv(135, 36%, 35%)
CMYKcmyk(35.6%, 0%, 26.7%, 64.7%)
CIE-LABlab(35.21, -17.50, 10.22)
CIE-LCHlch(35.21, 20.26, 149.71°)
OKLaboklab(43.53% -0.048 0.0261)
OKLCHoklch(43.53% 0.055 151.5)
XYZxyz(6.3841, 8.6049, 6.4777)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5A42 #5A3A52
analogous
#425A3A #3A5A42 #3A5A52
triadic
#3A5A42 #423A5A #5A423A
tetradic
#3A5A42 #3A425A #5A3A52 #5A523A
square
#3A5A42 #3A425A #5A3A52 #5A523A
split-complementary
#3A5A42 #523A5A #5A3A42
monochromatic
#0C130E #223527 #3A5A42 #527F5D #6DA17A

Accessibility & contrast

On white

7.72
#3A5A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A5A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5A42
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5A42#FFFFFF#000000##FFFFFF
##3A5A421.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5541
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#355953
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a5a42;
/* rgb */ color: rgb(58, 90, 66);
/* oklch */ color: oklch(43.5% 0.055 151.5);
Tailwind
colors: {
  custom: {
    50: '#718976',
    500: '#3a5a42',
    950: '#000000',
  },
}
SCSS
$custom: #3a5a42;
$custom-light: #718976;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5a42",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 135,
    "s": 21.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.43527,
    "c": 0.05464,
    "h": 151.5
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#3A5A42
secondary
#8A6681
accent
#6AA9BE
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#080B08
muted
#7B7C7B

Preview Lab

Preview with #3A5A42

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

Preview Lab → · Contrast checker → · Palette generator →

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