#3D310D#3D310D

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

Color values

HEX#3D310D
RGBrgb(61, 49, 13)
HSLhsl(45, 65%, 15%)
HSVhsv(45, 79%, 24%)
CMYKcmyk(0%, 19.7%, 78.7%, 76.1%)
CIE-LABlab(20.90, 0.64, 24.03)
CIE-LCHlch(20.90, 24.04, 88.48°)
OKLaboklab(31.83% -0.0003 0.0543)
OKLCHoklch(31.83% 0.054 90.3)
XYZxyz(3.0956, 3.2180, 0.8388)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D310D #0D193D
analogous
#3D190D #3D310D #313D0D
triadic
#3D310D #0D3D31 #310D3D
tetradic
#3D310D #0D3D19 #0D193D #3D0D31
square
#3D310D #0D3D19 #0D193D #3D0D31
split-complementary
#3D310D #0D313D #190D3D
monochromatic
#191405 #191405 #3D310D #6F5A18 #A28223

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D310D#FFFFFF#000000##FFFFFF
##3D310D1.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)
#373008
Deuteranopia (green-blind)
#3A340F
Tritanopia (blue-blind)
#432C2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d310d;
/* rgb */ color: rgb(61, 49, 13);
/* oklch */ color: oklch(31.8% 0.054 90.3);
Tailwind
colors: {
  custom: {
    50: '#75684e',
    500: '#3d310d',
    950: '#000000',
  },
}
SCSS
$custom: #3d310d;
$custom-light: #75684e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d310d",
  "rgb": {
    "r": 61,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 45,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31834,
    "c": 0.05425,
    "h": 90.3
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#3D310D
secondary
#2D4079
accent
#6AE840
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3D310D

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

Preview Lab → · Contrast checker → · Palette generator →

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