#312107#312107

#312107 is a dark, muted orange. Relative luminance 0.018; OKLCH L 26.2% C 0.046 H 76.3°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#312107
RGBrgb(49, 33, 7)
HSLhsl(37, 75%, 11%)
HSVhsv(37, 86%, 19%)
CMYKcmyk(0%, 32.7%, 85.7%, 80.8%)
CIE-LABlab(14.15, 4.51, 18.07)
CIE-LCHlch(14.15, 18.62, 75.99°)
OKLaboklab(26.16% 0.0109 0.0448)
OKLCHoklch(26.16% 0.046 76.3)
XYZxyz(1.8490, 1.7562, 0.4426)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312107 #071731
analogous
#310C07 #312107 #2C3107
triadic
#312107 #073121 #210731
tetradic
#312107 #07310C #071731 #31072C
square
#312107 #07310C #071731 #31072C
split-complementary
#312107 #072C31 #0C0731
monochromatic
#1B1204 #1B1204 #312107 #67450F #9C6916

Accessibility & contrast

On white

15.54
#312107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#312107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312107
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312107#FFFFFF#000000##FFFFFF
##3121071.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272205
Deuteranopia (green-blind)
#2B2508
Tritanopia (blue-blind)
#361D1C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #312107;
/* rgb */ color: rgb(49, 33, 7);
/* oklch */ color: oklch(26.2% 0.046 76.3);
Tailwind
colors: {
  custom: {
    50: '#6b5c4a',
    500: '#312107',
    950: '#000000',
  },
}
SCSS
$custom: #312107;
$custom-light: #6b5c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#312107",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 7
  },
  "hsl": {
    "h": 37.143,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26159,
    "c": 0.0461,
    "h": 76.3
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#312107
secondary
#234171
accent
#7EF236
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #312107

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

Preview Lab → · Contrast checker → · Palette generator →

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