#3A4C2C#3A4C2C

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

Color values

HEX#3A4C2C
RGBrgb(58, 76, 44)
HSLhsl(94, 27%, 24%)
HSVhsv(94, 42%, 30%)
CMYKcmyk(23.7%, 0%, 42.1%, 70.2%)
CIE-LABlab(30.04, -13.82, 16.78)
CIE-LCHlch(30.04, 21.74, 129.47°)
OKLaboklab(39.2% -0.0378 0.0414)
OKLCHoklch(39.2% 0.056 132.4)
XYZxyz(4.7839, 6.2502, 3.3367)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4C2C #3E2C4C
analogous
#4A4C2C #3A4C2C #2C4C2E
triadic
#3A4C2C #2C3A4C #4C2C3A
tetradic
#3A4C2C #2C4A4C #3E2C4C #4C2E2C
square
#3A4C2C #2C4A4C #3E2C4C #4C2E2C
split-complementary
#3A4C2C #2E2C4C #4C2C4A
monochromatic
#0F130B #1C2516 #3A4C2C #587342 #759A59

Accessibility & contrast

On white

9.33
#3A4C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4C2C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4C2C#FFFFFF#000000##FFFFFF
##3A4C2C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#3B4A44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a4c2c;
/* rgb */ color: rgb(58, 76, 44);
/* oklch */ color: oklch(39.2% 0.056 132.4);
Tailwind
colors: {
  custom: {
    50: '#717e65',
    500: '#3a4c2c',
    950: '#000000',
  },
}
SCSS
$custom: #3a4c2c;
$custom-light: #717e65;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4c2c",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 44
  },
  "hsl": {
    "h": 93.75,
    "s": 26.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39202,
    "c": 0.05609,
    "h": 132.4
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#3A4C2C
secondary
#6C567E
accent
#65C39A
background
#F6F7F6
surface
#ECEEEB
border
#C7C9C6
text
#070905
muted
#7A7B7A

Preview Lab

Preview with #3A4C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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