#312008#312008

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

Color values

HEX#312008
RGBrgb(49, 32, 8)
HSLhsl(35, 72%, 11%)
HSVhsv(35, 84%, 19%)
CMYKcmyk(0%, 34.7%, 83.7%, 80.8%)
CIE-LABlab(13.85, 5.28, 17.26)
CIE-LCHlch(13.85, 18.05, 72.99°)
OKLaboklab(25.93% 0.0134 0.043)
OKLCHoklch(25.93% 0.045 72.7)
XYZxyz(1.8271, 1.7037, 0.4623)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312008 #081931
analogous
#310B08 #312008 #2D3108
triadic
#312008 #083120 #200831
tetradic
#312008 #08310B #081931 #31082D
square
#312008 #08310B #081931 #31082D
split-complementary
#312008 #082D31 #0B0831
monochromatic
#1A1104 #1A1104 #312008 #664211 #9A6519

Accessibility & contrast

On white

15.66
#312008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312008
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312008#FFFFFF#000000##FFFFFF
##3120081.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262106
Deuteranopia (green-blind)
#2A2509
Tritanopia (blue-blind)
#361C1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #312008;
/* rgb */ color: rgb(49, 32, 8);
/* oklch */ color: oklch(25.9% 0.045 72.7);
Tailwind
colors: {
  custom: {
    50: '#6b5b4a',
    500: '#312008',
    950: '#000000',
  },
}
SCSS
$custom: #312008;
$custom-light: #6b5b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#312008",
  "rgb": {
    "r": 49,
    "g": 32,
    "b": 8
  },
  "hsl": {
    "h": 35.122,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.25926,
    "c": 0.04501,
    "h": 72.7
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#312008
secondary
#254470
accent
#84EF39
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #312008

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

Preview Lab → · Contrast checker → · Palette generator →

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