#3A310A#3A310A

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

Color values

HEX#3A310A
RGBrgb(58, 49, 10)
HSLhsl(49, 71%, 13%)
HSVhsv(49, 83%, 23%)
CMYKcmyk(0%, 15.5%, 82.8%, 77.3%)
CIE-LABlab(20.51, -1.17, 24.83)
CIE-LCHlch(20.51, 24.86, 92.70°)
OKLaboklab(31.44% -0.0057 0.0559)
OKLCHoklch(31.44% 0.056 95.8)
XYZxyz(2.8982, 3.1182, 0.7363)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A310A #0A133A
analogous
#3A190A #3A310A #2B3A0A
triadic
#3A310A #0A3A31 #310A3A
tetradic
#3A310A #0A3A19 #0A133A #3A0A2B
square
#3A310A #0A3A19 #0A133A #3A0A2B
split-complementary
#3A310A #0A2B3A #190A3A
monochromatic
#1A1605 #1A1605 #3A310A #6E5D13 #A2891C

Accessibility & contrast

On white

12.93
#3A310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3A310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A310A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A310A#FFFFFF#000000##FFFFFF
##3A310A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a310a;
/* rgb */ color: rgb(58, 49, 10);
/* oklch */ color: oklch(31.4% 0.056 95.8);
Tailwind
colors: {
  custom: {
    50: '#72684c',
    500: '#3a310a',
    950: '#000000',
  },
}
SCSS
$custom: #3a310a;
$custom-light: #72684c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a310a",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 48.75,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31438,
    "c": 0.05616,
    "h": 95.8
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#3A310A
secondary
#283777
accent
#5CED3A
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A310A

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

Preview Lab → · Contrast checker → · Palette generator →

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