#3A340E#3A340E

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

Color values

HEX#3A340E
RGBrgb(58, 52, 14)
HSLhsl(52, 61%, 14%)
HSVhsv(52, 76%, 23%)
CMYKcmyk(0%, 10.3%, 75.9%, 77.3%)
CIE-LABlab(21.53, -2.85, 24.13)
CIE-LCHlch(21.53, 24.30, 96.74°)
OKLaboklab(32.26% -0.0099 0.0546)
OKLCHoklch(32.26% 0.056 100.3)
XYZxyz(3.0523, 3.3874, 0.9084)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A340E #0E143A
analogous
#3A1E0E #3A340E #2A3A0E
triadic
#3A340E #0E3A34 #340E3A
tetradic
#3A340E #0E3A1E #0E143A #3A0E2A
square
#3A340E #0E3A1E #0E143A #3A0E2A
split-complementary
#3A340E #0E2A3A #1E0E3A
monochromatic
#191606 #191606 #3A340E #6B601A #9D8C26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A340E#FFFFFF#000000##FFFFFF
##3A340E1.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)
#3A3209
Deuteranopia (green-blind)
#3B3510
Tritanopia (blue-blind)
#3F302C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3a340e;
/* rgb */ color: rgb(58, 52, 14);
/* oklch */ color: oklch(32.3% 0.056 100.3);
Tailwind
colors: {
  custom: {
    50: '#726b4f',
    500: '#3a340e',
    950: '#000000',
  },
}
SCSS
$custom: #3a340e;
$custom-light: #726b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a340e",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 51.818,
    "s": 61.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32259,
    "c": 0.05553,
    "h": 100.3
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#3A340E
secondary
#2F3875
accent
#59E444
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3A340E

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

Preview Lab → · Contrast checker → · Palette generator →

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