#3A4C2E#3A4C2E

#3A4C2E is a dark, muted yellow-green. Relative luminance 0.063; OKLCH L 39.2% C 0.053 H 133.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#3A4C2E
RGBrgb(58, 76, 46)
HSLhsl(96, 25%, 24%)
HSVhsv(96, 39%, 30%)
CMYKcmyk(23.7%, 0%, 39.5%, 70.2%)
CIE-LABlab(30.07, -13.49, 15.61)
CIE-LCHlch(30.07, 20.63, 130.84°)
OKLaboklab(39.24% -0.0368 0.0388)
OKLCHoklch(39.24% 0.053 133.5)
XYZxyz(4.8224, 6.2656, 3.5395)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4C2E #402E4C
analogous
#494C2E #3A4C2E #2E4C31
triadic
#3A4C2E #2E3A4C #4C2E3A
tetradic
#3A4C2E #2E494C #402E4C #4C312E
square
#3A4C2E #2E494C #402E4C #4C312E
split-complementary
#3A4C2E #312E4C #4C2E49
monochromatic
#0F130C #1D2617 #3A4C2E #577245 #74985C

Accessibility & contrast

On white

9.32
#3A4C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A4C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4C2E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4C2E#FFFFFF#000000##FFFFFF
##3A4C2E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482C
Deuteranopia (green-blind)
#4C4630
Tritanopia (blue-blind)
#3A4A44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a4c2e;
/* rgb */ color: rgb(58, 76, 46);
/* oklch */ color: oklch(39.2% 0.053 133.5);
Tailwind
colors: {
  custom: {
    50: '#717e67',
    500: '#3a4c2e',
    950: '#000000',
  },
}
SCSS
$custom: #3a4c2e;
$custom-light: #717e67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4c2e",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 46
  },
  "hsl": {
    "h": 96,
    "s": 24.59,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.05346,
    "h": 133.5
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#3A4C2E
secondary
#6F597D
accent
#67C19D
background
#F6F7F6
surface
#ECEEEB
border
#C7C9C6
text
#070906
muted
#7A7B7A

Preview Lab

Preview with #3A4C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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