#3A462A#3A462A

#3A462A is a dark, muted yellow-green. Relative luminance 0.054; OKLCH L 37.5% C 0.048 H 127.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3A462A
RGBrgb(58, 70, 42)
HSLhsl(86, 25%, 22%)
HSVhsv(86, 40%, 27%)
CMYKcmyk(17.1%, 0%, 40%, 72.5%)
CIE-LABlab(27.97, -10.65, 15.33)
CIE-LCHlch(27.97, 18.66, 124.78°)
OKLaboklab(37.53% -0.029 0.038)
OKLCHoklch(37.53% 0.048 127.4)
XYZxyz(4.3529, 5.4470, 3.0121)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A462A #362A46
analogous
#46442A #3A462A #2C462A
triadic
#3A462A #2A3A46 #462A3A
tetradic
#3A462A #2A4644 #362A46 #462A2C
square
#3A462A #2A4644 #362A46 #462A2C
split-complementary
#3A462A #2A2C46 #442A46
monochromatic
#10130B #1A2013 #3A462A #5A6C41 #799358

Accessibility & contrast

On white

10.05
#3A462A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A462A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A462A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A462A#FFFFFF#000000##FFFFFF
##3A462A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494228
Deuteranopia (green-blind)
#47422B
Tritanopia (blue-blind)
#3B443F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a462a;
/* rgb */ color: rgb(58, 70, 42);
/* oklch */ color: oklch(37.5% 0.048 127.4);
Tailwind
colors: {
  custom: {
    50: '#707964',
    500: '#3a462a',
    950: '#000000',
  },
}
SCSS
$custom: #3a462a;
$custom-light: #707964;
$custom-dark: #000000;
JSON
{
  "hex": "#3a462a",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 42
  },
  "hsl": {
    "h": 85.714,
    "s": 25,
    "l": 21.961
  },
  "oklch": {
    "l": 0.37532,
    "c": 0.04779,
    "h": 127.4
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#3A462A
secondary
#635478
accent
#66C18D
background
#F6F7F5
surface
#ECEDEA
border
#C7C8C6
text
#070905
muted
#7A7B79

Preview Lab

Preview with #3A462A

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

Preview Lab → · Contrast checker → · Palette generator →

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