#3B310C#3B310C

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

Color values

HEX#3B310C
RGBrgb(59, 49, 12)
HSLhsl(47, 66%, 14%)
HSVhsv(47, 80%, 23%)
CMYKcmyk(0%, 16.9%, 79.7%, 76.9%)
CIE-LABlab(20.65, -0.50, 24.16)
CIE-LCHlch(20.65, 24.16, 91.19°)
OKLaboklab(31.58% -0.0035 0.0545)
OKLCHoklch(31.58% 0.055 93.7)
XYZxyz(2.9685, 3.1531, 0.8000)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B310C #0C163B
analogous
#3B1A0C #3B310C #2E3B0C
triadic
#3B310C #0C3B31 #310C3B
tetradic
#3B310C #0C3B1A #0C163B #3B0C2E
square
#3B310C #0C3B1A #0C163B #3B0C2E
split-complementary
#3B310C #0C2E3B #1A0C3B
monochromatic
#191505 #191505 #3B310C #6E5B16 #A18521

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B310C#FFFFFF#000000##FFFFFF
##3B310C1.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)
#373007
Deuteranopia (green-blind)
#3A330E
Tritanopia (blue-blind)
#402C29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3b310c;
/* rgb */ color: rgb(59, 49, 12);
/* oklch */ color: oklch(31.6% 0.055 93.7);
Tailwind
colors: {
  custom: {
    50: '#73684d',
    500: '#3b310c',
    950: '#000000',
  },
}
SCSS
$custom: #3b310c;
$custom-light: #73684d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b310c",
  "rgb": {
    "r": 59,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 47.234,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31578,
    "c": 0.05464,
    "h": 93.7
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#3B310C
secondary
#2C3C77
accent
#63E93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3B310C

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

Preview Lab → · Contrast checker → · Palette generator →

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