#311F0C#311F0C

#311F0C is a dark, muted orange. Relative luminance 0.017; OKLCH L 25.7% C 0.041 H 65.6°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#311F0C
RGBrgb(49, 31, 12)
HSLhsl(31, 61%, 12%)
HSVhsv(31, 76%, 19%)
CMYKcmyk(0%, 36.7%, 75.5%, 80.8%)
CIE-LABlab(13.59, 6.30, 15.25)
CIE-LCHlch(13.59, 16.50, 67.53°)
OKLaboklab(25.74% 0.0171 0.0377)
OKLCHoklch(25.74% 0.041 65.6)
XYZxyz(1.8231, 1.6596, 0.5721)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311F0C #0C1E31
analogous
#310D0C #311F0C #31310C
triadic
#311F0C #0C311F #1F0C31
tetradic
#311F0C #0C310D #0C1E31 #310C31
square
#311F0C #0C310D #0C1E31 #310C31
split-complementary
#311F0C #0C3131 #0D0C31
monochromatic
#191006 #191006 #311F0C #623E18 #935D24

Accessibility & contrast

On white

15.77
#311F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#311F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311F0C
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311F0C#FFFFFF#000000##FFFFFF
##311F0C1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25200A
Deuteranopia (green-blind)
#29240C
Tritanopia (blue-blind)
#361B1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #311f0c;
/* rgb */ color: rgb(49, 31, 12);
/* oklch */ color: oklch(25.7% 0.041 65.6);
Tailwind
colors: {
  custom: {
    50: '#6b5a4c',
    500: '#311f0c',
    950: '#000000',
  },
}
SCSS
$custom: #311f0c;
$custom-light: #6b5a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#311f0c",
  "rgb": {
    "r": 49,
    "g": 31,
    "b": 12
  },
  "hsl": {
    "h": 30.811,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2574,
    "c": 0.04144,
    "h": 65.6
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#311F0C
secondary
#2C4C6D
accent
#92E444
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #311F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#311F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva