#3A331D#3A331D

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

Color values

HEX#3A331D
RGBrgb(58, 51, 29)
HSLhsl(46, 33%, 17%)
HSVhsv(46, 50%, 23%)
CMYKcmyk(0%, 12.1%, 50%, 77.3%)
CIE-LABlab(21.42, -0.66, 15.08)
CIE-LCHlch(21.42, 15.09, 92.52°)
OKLaboklab(32.24% -0.0015 0.0368)
OKLCHoklch(32.24% 0.037 92.4)
XYZxyz(3.1506, 3.3560, 1.6440)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A331D #1D243A
analogous
#3A251D #3A331D #333A1D
triadic
#3A331D #1D3A33 #331D3A
tetradic
#3A331D #1D3A25 #1D243A #3A1D33
square
#3A331D #1D3A25 #1D243A #3A1D33
split-complementary
#3A331D #1D333A #251D3A
monochromatic
#14120A #14120A #3A331D #635731 #8C7B46

Accessibility & contrast

On white

12.57
#3A331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A331D
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A331D#FFFFFF#000000##FFFFFF
##3A331D1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321B
Deuteranopia (green-blind)
#39341E
Tritanopia (blue-blind)
#3E302E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a331d;
/* rgb */ color: rgb(58, 51, 29);
/* oklch */ color: oklch(32.2% 0.037 92.4);
Tailwind
colors: {
  custom: {
    50: '#716a59',
    500: '#3a331d',
    950: '#000000',
  },
}
SCSS
$custom: #3a331d;
$custom-light: #716a59;
$custom-dark: #000000;
JSON
{
  "hex": "#3a331d",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 45.517,
    "s": 33.333,
    "l": 17.059
  },
  "oklch": {
    "l": 0.32235,
    "c": 0.03678,
    "h": 92.4
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#3A331D
secondary
#454F6E
accent
#78C95E
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#070603
muted
#7A7A78

Preview Lab

Preview with #3A331D

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

Preview Lab → · Contrast checker → · Palette generator →

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