#312004#312004

#312004 is a dark, muted orange. Relative luminance 0.017; OKLCH L 25.9% C 0.049 H 76.4°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#312004
RGBrgb(49, 32, 4)
HSLhsl(37, 85%, 10%)
HSVhsv(37, 92%, 19%)
CMYKcmyk(0%, 34.7%, 91.8%, 80.8%)
CIE-LABlab(13.80, 4.97, 18.83)
CIE-LCHlch(13.80, 19.47, 75.22°)
OKLaboklab(25.87% 0.0116 0.0476)
OKLCHoklch(25.87% 0.049 76.4)
XYZxyz(1.8052, 1.6949, 0.3469)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312004 #041531
analogous
#310904 #312004 #2B3104
triadic
#312004 #043120 #200431
tetradic
#312004 #043109 #041531 #31042B
square
#312004 #043109 #041531 #31042B
split-complementary
#312004 #042B31 #090431
monochromatic
#1C1202 #1C1202 #312004 #6A4509 #A26A0D

Accessibility & contrast

On white

15.68
#312004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#312004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312004
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312004#FFFFFF#000000##FFFFFF
##3120041.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262102
Deuteranopia (green-blind)
#2A2505
Tritanopia (blue-blind)
#361B1A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #312004;
/* rgb */ color: rgb(49, 32, 4);
/* oklch */ color: oklch(25.9% 0.049 76.4);
Tailwind
colors: {
  custom: {
    50: '#6b5b48',
    500: '#312004',
    950: '#000000',
  },
}
SCSS
$custom: #312004;
$custom-light: #6b5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#312004",
  "rgb": {
    "r": 49,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 37.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25869,
    "c": 0.04901,
    "h": 76.4
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#312004
secondary
#1D3E73
accent
#7BFB2D
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #312004

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

Preview Lab → · Contrast checker → · Palette generator →

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