#3A340F#3A340F

#3A340F is a dark, muted yellow. Relative luminance 0.034; OKLCH L 32.3% C 0.055 H 100.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#3A340F
RGBrgb(58, 52, 15)
HSLhsl(52, 59%, 14%)
HSVhsv(52, 74%, 23%)
CMYKcmyk(0%, 10.3%, 74.1%, 77.3%)
CIE-LABlab(21.54, -2.77, 23.62)
CIE-LCHlch(21.54, 23.79, 96.70°)
OKLaboklab(32.27% -0.0095 0.0537)
OKLCHoklch(32.27% 0.055 100.1)
XYZxyz(3.0593, 3.3901, 0.9451)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A340F #0F153A
analogous
#3A1F0F #3A340F #2B3A0F
triadic
#3A340F #0F3A34 #340F3A
tetradic
#3A340F #0F3A1F #0F153A #3A0F2B
square
#3A340F #0F3A1F #0F153A #3A0F2B
split-complementary
#3A340F #0F2B3A #1F0F3A
monochromatic
#181606 #181606 #3A340F #6B601C #9B8B28

Accessibility & contrast

On white

12.51
#3A340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A340F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A340F#FFFFFF#000000##FFFFFF
##3A340F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a340f;
/* rgb */ color: rgb(58, 52, 15);
/* oklch */ color: oklch(32.3% 0.055 100.1);
Tailwind
colors: {
  custom: {
    50: '#726b4f',
    500: '#3a340f',
    950: '#000000',
  },
}
SCSS
$custom: #3a340f;
$custom-light: #726b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a340f",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 51.628,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3227,
    "c": 0.05457,
    "h": 100.1
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#3A340F
secondary
#303A74
accent
#5CE246
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3A340F

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

Preview Lab → · Contrast checker → · Palette generator →

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