#3A331E#3A331E

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

Color values

HEX#3A331E
RGBrgb(58, 51, 30)
HSLhsl(45, 32%, 17%)
HSVhsv(45, 48%, 23%)
CMYKcmyk(0%, 12.1%, 48.3%, 77.3%)
CIE-LABlab(21.44, -0.53, 14.46)
CIE-LCHlch(21.44, 14.47, 92.10°)
OKLaboklab(32.26% -0.0011 0.0354)
OKLCHoklch(32.26% 0.035 91.7)
XYZxyz(3.1632, 3.3610, 1.7102)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A331E #1E253A
analogous
#3A251E #3A331E #333A1E
triadic
#3A331E #1E3A33 #331E3A
tetradic
#3A331E #1E3A25 #1E253A #3A1E33
square
#3A331E #1E3A25 #1E253A #3A1E33
split-complementary
#3A331E #1E333A #251E3A
monochromatic
#14120A #14120A #3A331E #625633 #8B7A48

Accessibility & contrast

On white

12.56
#3A331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A331E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A331E#FFFFFF#000000##FFFFFF
##3A331E1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a331e;
/* rgb */ color: rgb(58, 51, 30);
/* oklch */ color: oklch(32.3% 0.035 91.7);
Tailwind
colors: {
  custom: {
    50: '#716a5a',
    500: '#3a331e',
    950: '#000000',
  },
}
SCSS
$custom: #3a331e;
$custom-light: #716a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a331e",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 45,
    "s": 31.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.32256,
    "c": 0.03541,
    "h": 91.7
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#3A331E
secondary
#46506E
accent
#7AC860
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#070603
muted
#7A7A78

Preview Lab

Preview with #3A331E

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

Preview Lab → · Contrast checker → · Palette generator →

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