#3A4A2A#3A4A2A

#3A4A2A is a dark, muted yellow-green. Relative luminance 0.060; OKLCH L 38.6% C 0.055 H 130.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3A4A2A
RGBrgb(58, 74, 42)
HSLhsl(90, 28%, 23%)
HSVhsv(90, 43%, 29%)
CMYKcmyk(21.6%, 0%, 43.2%, 71%)
CIE-LABlab(29.32, -12.99, 17.08)
CIE-LCHlch(29.32, 21.46, 127.25°)
OKLaboklab(38.62% -0.0356 0.042)
OKLCHoklch(38.62% 0.055 130.3)
XYZxyz(4.6116, 5.9642, 3.0983)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4A2A #3A2A4A
analogous
#4A4A2A #3A4A2A #2A4A2A
triadic
#3A4A2A #2A3A4A #4A2A3A
tetradic
#3A4A2A #2A4A4A #3A2A4A #4A2A2A
square
#3A4A2A #2A4A4A #3A2A4A #4A2A2A
split-complementary
#3A4A2A #2A2A4A #4A2A4A
monochromatic
#0F140B #1B2314 #3A4A2A #597140 #779856

Accessibility & contrast

On white

9.58
#3A4A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A4A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4A2A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4A2A#FFFFFF#000000##FFFFFF
##3A4A2A1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#4A452C
Tritanopia (blue-blind)
#3B4742
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a4a2a;
/* rgb */ color: rgb(58, 74, 42);
/* oklch */ color: oklch(38.6% 0.055 130.3);
Tailwind
colors: {
  custom: {
    50: '#717c64',
    500: '#3a4a2a',
    950: '#000000',
  },
}
SCSS
$custom: #3a4a2a;
$custom-light: #717c64;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4a2a",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 42
  },
  "hsl": {
    "h": 90,
    "s": 27.586,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38616,
    "c": 0.05509,
    "h": 130.3
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#3A4A2A
secondary
#68547C
accent
#64C494
background
#F6F7F5
surface
#ECEEEA
border
#C7C9C6
text
#070905
muted
#7A7B79

Preview Lab

Preview with #3A4A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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