#3A310D#3A310D

#3A310D is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.5% C 0.054 H 95.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#3A310D
RGBrgb(58, 49, 13)
HSLhsl(48, 63%, 14%)
HSVhsv(48, 78%, 23%)
CMYKcmyk(0%, 15.5%, 77.6%, 77.3%)
CIE-LABlab(20.54, -0.97, 23.54)
CIE-LCHlch(20.54, 23.55, 92.36°)
OKLaboklab(31.47% -0.0047 0.0534)
OKLCHoklch(31.47% 0.054 95)
XYZxyz(2.9160, 3.1254, 0.8304)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A310D #0D163A
analogous
#3A1B0D #3A310D #2D3A0D
triadic
#3A310D #0D3A31 #310D3A
tetradic
#3A310D #0D3A1B #0D163A #3A0D2D
square
#3A310D #0D3A1B #0D163A #3A0D2D
split-complementary
#3A310D #0D2D3A #1B0D3A
monochromatic
#191506 #191506 #3A310D #6C5B18 #9E8523

Accessibility & contrast

On white

12.92
#3A310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A310D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A310D#FFFFFF#000000##FFFFFF
##3A310D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373009
Deuteranopia (green-blind)
#39330F
Tritanopia (blue-blind)
#3F2D29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a310d;
/* rgb */ color: rgb(58, 49, 13);
/* oklch */ color: oklch(31.5% 0.054 95.0);
Tailwind
colors: {
  custom: {
    50: '#72684e',
    500: '#3a310d',
    950: '#000000',
  },
}
SCSS
$custom: #3a310d;
$custom-light: #72684e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a310d",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 48,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31469,
    "c": 0.05355,
    "h": 95
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#3A310D
secondary
#2D3C76
accent
#62E641
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A310D

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

Preview Lab → · Contrast checker → · Palette generator →

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