#312404#312404

#312404 is a dark, muted orange. Relative luminance 0.019; OKLCH L 26.9% C 0.050 H 86.0°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#312404
RGBrgb(49, 36, 4)
HSLhsl(43, 85%, 10%)
HSVhsv(43, 92%, 19%)
CMYKcmyk(0%, 26.5%, 91.8%, 80.8%)
CIE-LABlab(15.08, 2.19, 20.50)
CIE-LCHlch(15.08, 20.61, 83.90°)
OKLaboklab(26.88% 0.0036 0.0502)
OKLCHoklch(26.88% 0.05 86)
XYZxyz(1.9195, 1.9236, 0.3850)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312404 #041131
analogous
#310D04 #312404 #273104
triadic
#312404 #043124 #240431
tetradic
#312404 #04310D #041131 #310427
square
#312404 #04310D #041131 #310427
split-complementary
#312404 #042731 #0D0431
monochromatic
#1C1502 #1C1502 #312404 #6A4E09 #A2770D

Accessibility & contrast

On white

15.17
#312404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#312404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312404
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312404#FFFFFF#000000##FFFFFF
##3124041.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2401
Deuteranopia (green-blind)
#2D2705
Tritanopia (blue-blind)
#36201E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #312404;
/* rgb */ color: rgb(49, 36, 4);
/* oklch */ color: oklch(26.9% 0.050 86.0);
Tailwind
colors: {
  custom: {
    50: '#6b5e48',
    500: '#312404',
    950: '#000000',
  },
}
SCSS
$custom: #312404;
$custom-light: #6b5e48;
$custom-dark: #000000;
JSON
{
  "hex": "#312404",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 4
  },
  "hsl": {
    "h": 42.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26876,
    "c": 0.05029,
    "h": 86
  },
  "luminance": 0.01923
}

Semantic roles & 50–950 ramp

primary
#312404
secondary
#1D3673
accent
#68FB2D
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #312404

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

Preview Lab → · Contrast checker → · Palette generator →

#312404 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva