#3B310D#3B310D

#3B310D is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.6% C 0.054 H 93.4°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#3B310D
RGBrgb(59, 49, 13)
HSLhsl(47, 64%, 14%)
HSVhsv(47, 78%, 23%)
CMYKcmyk(0%, 16.9%, 78%, 76.9%)
CIE-LABlab(20.66, -0.43, 23.70)
CIE-LCHlch(20.66, 23.70, 91.05°)
OKLaboklab(31.59% -0.0032 0.0537)
OKLCHoklch(31.59% 0.054 93.4)
XYZxyz(2.9747, 3.1557, 0.8331)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B310D #0D173B
analogous
#3B1A0D #3B310D #2E3B0D
triadic
#3B310D #0D3B31 #310D3B
tetradic
#3B310D #0D3B1A #0D173B #3B0D2E
square
#3B310D #0D3B1A #0D173B #3B0D2E
split-complementary
#3B310D #0D2E3B #1A0D3B
monochromatic
#191506 #191506 #3B310D #6D5B18 #9F8423

Accessibility & contrast

On white

12.88
#3B310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3B310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B310D
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B310D#FFFFFF#000000##FFFFFF
##3B310D1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373009
Deuteranopia (green-blind)
#39330F
Tritanopia (blue-blind)
#402D2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3b310d;
/* rgb */ color: rgb(59, 49, 13);
/* oklch */ color: oklch(31.6% 0.054 93.4);
Tailwind
colors: {
  custom: {
    50: '#73684e',
    500: '#3b310d',
    950: '#000000',
  },
}
SCSS
$custom: #3b310d;
$custom-light: #73684e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b310d",
  "rgb": {
    "r": 59,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 46.957,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31589,
    "c": 0.05375,
    "h": 93.4
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#3B310D
secondary
#2D3D77
accent
#65E741
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3B310D

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

Preview Lab → · Contrast checker → · Palette generator →

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