#3B310F#3B310F

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

Color values

HEX#3B310F
RGBrgb(59, 49, 15)
HSLhsl(46, 59%, 15%)
HSVhsv(46, 75%, 23%)
CMYKcmyk(0%, 16.9%, 74.6%, 76.9%)
CIE-LABlab(20.68, -0.29, 22.71)
CIE-LCHlch(20.68, 22.71, 90.72°)
OKLaboklab(31.61% -0.0025 0.0518)
OKLCHoklch(31.61% 0.052 92.7)
XYZxyz(2.9883, 3.1611, 0.9046)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B310F #0F193B
analogous
#3B1B0F #3B310F #2F3B0F
triadic
#3B310F #0F3B31 #310F3B
tetradic
#3B310F #0F3B1B #0F193B #3B0F2F
square
#3B310F #0F3B1B #0F193B #3B0F2F
split-complementary
#3B310F #0F2F3B #1B0F3B
monochromatic
#181406 #181406 #3B310F #6C5A1B #9D8228

Accessibility & contrast

On white

12.87
#3B310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B310F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B310F#FFFFFF#000000##FFFFFF
##3B310F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#402D2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3b310f;
/* rgb */ color: rgb(59, 49, 15);
/* oklch */ color: oklch(31.6% 0.052 92.7);
Tailwind
colors: {
  custom: {
    50: '#73684f',
    500: '#3b310f',
    950: '#000000',
  },
}
SCSS
$custom: #3b310f;
$custom-light: #73684f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b310f",
  "rgb": {
    "r": 59,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 46.364,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31612,
    "c": 0.05185,
    "h": 92.7
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#3B310F
secondary
#304075
accent
#69E345
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3B310F

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

Preview Lab → · Contrast checker → · Palette generator →

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