#3A340D#3A340D

#3A340D is a dark, muted yellow. Relative luminance 0.034; OKLCH L 32.2% C 0.056 H 100.5°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#3A340D
RGBrgb(58, 52, 13)
HSLhsl(52, 63%, 14%)
HSVhsv(52, 78%, 23%)
CMYKcmyk(0%, 10.3%, 77.6%, 77.3%)
CIE-LABlab(21.52, -2.92, 24.61)
CIE-LCHlch(21.52, 24.79, 96.78°)
OKLaboklab(32.25% -0.0103 0.0555)
OKLCHoklch(32.25% 0.056 100.5)
XYZxyz(3.0457, 3.3847, 0.8736)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A340D #0D133A
analogous
#3A1E0D #3A340D #2A3A0D
triadic
#3A340D #0D3A34 #340D3A
tetradic
#3A340D #0D3A1E #0D133A #3A0D2A
square
#3A340D #0D3A1E #0D133A #3A0D2A
split-complementary
#3A340D #0D2A3A #1E0D3A
monochromatic
#191606 #191606 #3A340D #6C6118 #9E8E23

Accessibility & contrast

On white

12.52
#3A340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3A340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A340D
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A340D#FFFFFF#000000##FFFFFF
##3A340D1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3208
Deuteranopia (green-blind)
#3B350F
Tritanopia (blue-blind)
#3F302C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3a340d;
/* rgb */ color: rgb(58, 52, 13);
/* oklch */ color: oklch(32.2% 0.056 100.5);
Tailwind
colors: {
  custom: {
    50: '#726b4e',
    500: '#3a340d',
    950: '#000000',
  },
}
SCSS
$custom: #3a340d;
$custom-light: #726b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a340d",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 52,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32248,
    "c": 0.05646,
    "h": 100.5
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#3A340D
secondary
#2D3776
accent
#57E641
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A340D

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

Preview Lab → · Contrast checker → · Palette generator →

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