#3A331B#3A331B

#3A331B is a dark, muted yellow. Relative luminance 0.033; OKLCH L 32.2% C 0.039 H 93.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#3A331B
RGBrgb(58, 51, 27)
HSLhsl(46, 36%, 17%)
HSVhsv(46, 53%, 23%)
CMYKcmyk(0%, 12.1%, 53.4%, 77.3%)
CIE-LABlab(21.38, -0.92, 16.32)
CIE-LCHlch(21.38, 16.34, 93.21°)
OKLaboklab(32.2% -0.0025 0.0394)
OKLCHoklch(32.2% 0.039 93.7)
XYZxyz(3.1267, 3.3464, 1.5179)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A331B #1B223A
analogous
#3A241B #3A331B #323A1B
triadic
#3A331B #1B3A33 #331B3A
tetradic
#3A331B #1B3A24 #1B223A #3A1B32
square
#3A331B #1B3A24 #1B223A #3A1B32
split-complementary
#3A331B #1B323A #241B3A
monochromatic
#15120A #15120A #3A331B #64582E #8E7C42

Accessibility & contrast

On white

12.58
#3A331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3A331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A331B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A331B#FFFFFF#000000##FFFFFF
##3A331B1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383219
Deuteranopia (green-blind)
#39341C
Tritanopia (blue-blind)
#3E302D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a331b;
/* rgb */ color: rgb(58, 51, 27);
/* oklch */ color: oklch(32.2% 0.039 93.7);
Tailwind
colors: {
  custom: {
    50: '#716a57',
    500: '#3a331b',
    950: '#000000',
  },
}
SCSS
$custom: #3a331b;
$custom-light: #716a57;
$custom-dark: #000000;
JSON
{
  "hex": "#3a331b",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 46.452,
    "s": 36.471,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.03948,
    "h": 93.7
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#3A331B
secondary
#424C6F
accent
#75CC5B
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#080603
muted
#7B7A78

Preview Lab

Preview with #3A331B

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

Preview Lab → · Contrast checker → · Palette generator →

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