#3B310A#3B310A

#3B310A is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.6% C 0.056 H 94.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#3B310A
RGBrgb(59, 49, 10)
HSLhsl(48, 71%, 14%)
HSVhsv(48, 83%, 23%)
CMYKcmyk(0%, 16.9%, 83.1%, 76.9%)
CIE-LABlab(20.63, -0.63, 25.00)
CIE-LCHlch(20.63, 25.00, 91.44°)
OKLaboklab(31.56% -0.0042 0.0562)
OKLCHoklch(31.56% 0.056 94.3)
XYZxyz(2.9569, 3.1485, 0.7391)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B310A #0A143B
analogous
#3B180A #3B310A #2C3B0A
triadic
#3B310A #0A3B31 #310A3B
tetradic
#3B310A #0A3B18 #0A143B #3B0A2C
square
#3B310A #0A3B18 #0A143B #3B0A2C
split-complementary
#3B310A #0A2C3B #180A3B
monochromatic
#1A1604 #1A1604 #3B310A #6F5C13 #A4881C

Accessibility & contrast

On white

12.89
#3B310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B310A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B310A#FFFFFF#000000##FFFFFF
##3B310A1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373005
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#402C29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3b310a;
/* rgb */ color: rgb(59, 49, 10);
/* oklch */ color: oklch(31.6% 0.056 94.3);
Tailwind
colors: {
  custom: {
    50: '#73684c',
    500: '#3b310a',
    950: '#000000',
  },
}
SCSS
$custom: #3b310a;
$custom-light: #73684c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b310a",
  "rgb": {
    "r": 59,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 47.755,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31558,
    "c": 0.05631,
    "h": 94.3
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#3B310A
secondary
#283978
accent
#5FEE3A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3B310A

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

Preview Lab → · Contrast checker → · Palette generator →

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