#312304#312304

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

Color values

HEX#312304
RGBrgb(49, 35, 4)
HSLhsl(41, 85%, 10%)
HSVhsv(41, 92%, 19%)
CMYKcmyk(0%, 28.6%, 91.8%, 80.8%)
CIE-LABlab(14.76, 2.88, 20.08)
CIE-LCHlch(14.76, 20.28, 81.83°)
OKLaboklab(26.62% 0.0055 0.0495)
OKLCHoklch(26.62% 0.05 83.6)
XYZxyz(1.8897, 1.8639, 0.3751)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312304 #041231
analogous
#310C04 #312304 #283104
triadic
#312304 #043123 #230431
tetradic
#312304 #04310C #041231 #310428
square
#312304 #04310C #041231 #310428
split-complementary
#312304 #042831 #0C0431
monochromatic
#1C1402 #1C1402 #312304 #6A4B09 #A2740D

Accessibility & contrast

On white

15.30
#312304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#312304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312304
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312304#FFFFFF#000000##FFFFFF
##3123041.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292301
Deuteranopia (green-blind)
#2C2705
Tritanopia (blue-blind)
#361F1D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #312304;
/* rgb */ color: rgb(49, 35, 4);
/* oklch */ color: oklch(26.6% 0.050 83.6);
Tailwind
colors: {
  custom: {
    50: '#6b5d48',
    500: '#312304',
    950: '#000000',
  },
}
SCSS
$custom: #312304;
$custom-light: #6b5d48;
$custom-dark: #000000;
JSON
{
  "hex": "#312304",
  "rgb": {
    "r": 49,
    "g": 35,
    "b": 4
  },
  "hsl": {
    "h": 41.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26621,
    "c": 0.04983,
    "h": 83.6
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#312304
secondary
#1D3873
accent
#6DFB2D
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #312304

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

Preview Lab → · Contrast checker → · Palette generator →

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