#3D310B#3D310B

#3D310B is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.8% C 0.056 H 91.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#3D310B
RGBrgb(61, 49, 11)
HSLhsl(46, 69%, 14%)
HSVhsv(46, 82%, 24%)
CMYKcmyk(0%, 19.7%, 82%, 76.1%)
CIE-LABlab(20.88, 0.51, 24.92)
CIE-LCHlch(20.88, 24.93, 88.83°)
OKLaboklab(31.81% -0.0009 0.0559)
OKLCHoklch(31.81% 0.056 91)
XYZxyz(3.0834, 3.2131, 0.7743)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D310B #0B173D
analogous
#3D180B #3D310B #303D0B
triadic
#3D310B #0B3D31 #310B3D
tetradic
#3D310B #0B3D18 #0B173D #3D0B30
square
#3D310B #0B3D18 #0B173D #3D0B30
split-complementary
#3D310B #0B303D #180B3D
monochromatic
#1A1505 #1A1505 #3D310B #715B14 #A5841E

Accessibility & contrast

On white

12.78
#3D310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3D310B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D310B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D310B#FFFFFF#000000##FFFFFF
##3D310B1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#3A340D
Tritanopia (blue-blind)
#432C29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d310b;
/* rgb */ color: rgb(61, 49, 11);
/* oklch */ color: oklch(31.8% 0.056 91.0);
Tailwind
colors: {
  custom: {
    50: '#75684d',
    500: '#3d310b',
    950: '#000000',
  },
}
SCSS
$custom: #3d310b;
$custom-light: #75684d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d310b",
  "rgb": {
    "r": 61,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 45.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31813,
    "c": 0.05595,
    "h": 91
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#3D310B
secondary
#2A3D7A
accent
#66EC3C
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3D310B

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

Preview Lab → · Contrast checker → · Palette generator →

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