#3A371C#3A371C

#3A371C is a dark, muted yellow. Relative luminance 0.037; OKLCH L 33.3% C 0.043 H 102.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#3A371C
RGBrgb(58, 55, 28)
HSLhsl(54, 35%, 17%)
HSVhsv(54, 52%, 23%)
CMYKcmyk(0%, 5.2%, 51.7%, 77.3%)
CIE-LABlab(22.71, -3.39, 17.34)
CIE-LCHlch(22.71, 17.67, 101.07°)
OKLaboklab(33.25% -0.0095 0.0418)
OKLCHoklch(33.25% 0.043 102.9)
XYZxyz(3.3208, 3.7159, 1.6407)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A371C #1C1F3A
analogous
#3A281C #3A371C #2E3A1C
triadic
#3A371C #1C3A37 #371C3A
tetradic
#3A371C #1C3A28 #1C1F3A #3A1C2E
square
#3A371C #1C3A28 #1C1F3A #3A1C2E
split-complementary
#3A371C #1C2E3A #281C3A
monochromatic
#15140A #15140A #3A371C #635E30 #8D8544

Accessibility & contrast

On white

12.05
#3A371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3A371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A371C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A371C#FFFFFF#000000##FFFFFF
##3A371C1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351A
Deuteranopia (green-blind)
#3C371D
Tritanopia (blue-blind)
#3E3431
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a371c;
/* rgb */ color: rgb(58, 55, 28);
/* oklch */ color: oklch(33.3% 0.043 102.9);
Tailwind
colors: {
  custom: {
    50: '#716d58',
    500: '#3a371c',
    950: '#000000',
  },
}
SCSS
$custom: #3a371c;
$custom-light: #716d58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a371c",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 54,
    "s": 34.884,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33252,
    "c": 0.04286,
    "h": 102.9
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#3A371C
secondary
#43486F
accent
#68CB5D
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#080703
muted
#7B7A78

Preview Lab

Preview with #3A371C

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

Preview Lab → · Contrast checker → · Palette generator →

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