#3A310C#3A310C

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

Color values

HEX#3A310C
RGBrgb(58, 49, 12)
HSLhsl(48, 66%, 14%)
HSVhsv(48, 79%, 23%)
CMYKcmyk(0%, 15.5%, 79.3%, 77.3%)
CIE-LABlab(20.53, -1.04, 23.99)
CIE-LCHlch(20.53, 24.01, 92.49°)
OKLaboklab(31.46% -0.005 0.0542)
OKLCHoklch(31.46% 0.054 95.3)
XYZxyz(2.9097, 3.1229, 0.7973)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A310C #0C153A
analogous
#3A1A0C #3A310C #2C3A0C
triadic
#3A310C #0C3A31 #310C3A
tetradic
#3A310C #0C3A1A #0C153A #3A0C2C
square
#3A310C #0C3A1A #0C153A #3A0C2C
split-complementary
#3A310C #0C2C3A #1A0C3A
monochromatic
#191505 #191505 #3A310C #6D5C16 #9F8721

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A310C#FFFFFF#000000##FFFFFF
##3A310C1.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)
#373007
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#3F2D29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a310c;
/* rgb */ color: rgb(58, 49, 12);
/* oklch */ color: oklch(31.5% 0.054 95.3);
Tailwind
colors: {
  custom: {
    50: '#72684d',
    500: '#3a310c',
    950: '#000000',
  },
}
SCSS
$custom: #3a310c;
$custom-light: #72684d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a310c",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 48.261,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.05446,
    "h": 95.3
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#3A310C
secondary
#2C3A76
accent
#60E93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A310C

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

Preview Lab → · Contrast checker → · Palette generator →

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