#3A310F#3A310F

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

Color values

HEX#3A310F
RGBrgb(58, 49, 15)
HSLhsl(47, 59%, 14%)
HSVhsv(47, 74%, 23%)
CMYKcmyk(0%, 15.5%, 74.1%, 77.3%)
CIE-LABlab(20.56, -0.82, 22.55)
CIE-LCHlch(20.56, 22.56, 92.08°)
OKLaboklab(31.49% -0.0039 0.0515)
OKLCHoklch(31.49% 0.052 94.4)
XYZxyz(2.9296, 3.1308, 0.9018)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A310F #0F183A
analogous
#3A1C0F #3A310F #2E3A0F
triadic
#3A310F #0F3A31 #310F3A
tetradic
#3A310F #0F3A1C #0F183A #3A0F2E
square
#3A310F #0F3A1C #0F183A #3A0F2E
split-complementary
#3A310F #0F2E3A #1C0F3A
monochromatic
#181506 #181506 #3A310F #6B5A1C #9B8328

Accessibility & contrast

On white

12.91
#3A310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A310F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A310F#FFFFFF#000000##FFFFFF
##3A310F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a310f;
/* rgb */ color: rgb(58, 49, 15);
/* oklch */ color: oklch(31.5% 0.052 94.4);
Tailwind
colors: {
  custom: {
    50: '#72684f',
    500: '#3a310f',
    950: '#000000',
  },
}
SCSS
$custom: #3a310f;
$custom-light: #72684f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a310f",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 47.442,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31492,
    "c": 0.05163,
    "h": 94.4
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#3A310F
secondary
#303F74
accent
#66E246
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3A310F

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

Preview Lab → · Contrast checker → · Palette generator →

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