#3A310B#3A310B

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

Color values

HEX#3A310B
RGBrgb(58, 49, 11)
HSLhsl(49, 68%, 14%)
HSVhsv(49, 81%, 23%)
CMYKcmyk(0%, 15.5%, 81%, 77.3%)
CIE-LABlab(20.52, -1.11, 24.42)
CIE-LCHlch(20.52, 24.45, 92.60°)
OKLaboklab(31.45% -0.0053 0.0551)
OKLCHoklch(31.45% 0.055 95.5)
XYZxyz(2.9038, 3.1205, 0.7659)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A310B #0B143A
analogous
#3A190B #3A310B #2B3A0B
triadic
#3A310B #0B3A31 #310B3A
tetradic
#3A310B #0B3A19 #0B143A #3A0B2B
square
#3A310B #0B3A19 #0B143A #3A0B2B
split-complementary
#3A310B #0B2B3A #190B3A
monochromatic
#1A1605 #1A1605 #3A310B #6D5C15 #A1881F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A310B#FFFFFF#000000##FFFFFF
##3A310B1.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)
#373006
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#3F2D29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a310b;
/* rgb */ color: rgb(58, 49, 11);
/* oklch */ color: oklch(31.4% 0.055 95.5);
Tailwind
colors: {
  custom: {
    50: '#72684d',
    500: '#3a310b',
    950: '#000000',
  },
}
SCSS
$custom: #3a310b;
$custom-light: #72684d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a310b",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 48.511,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31447,
    "c": 0.05533,
    "h": 95.5
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#3A310B
secondary
#2A3977
accent
#5EEB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A310B

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

Preview Lab → · Contrast checker → · Palette generator →

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