#31180C#31180C

#31180C is a very dark, muted orange. Relative luminance 0.013; OKLCH L 24.1% C 0.045 H 45.6°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#31180C
RGBrgb(49, 24, 12)
HSLhsl(19, 61%, 12%)
HSVhsv(19, 76%, 19%)
CMYKcmyk(0%, 51%, 75.5%, 80.8%)
CIE-LABlab(11.50, 11.16, 12.43)
CIE-LCHlch(11.50, 16.71, 48.07°)
OKLaboklab(24.13% 0.0318 0.0324)
OKLCHoklch(24.13% 0.045 45.6)
XYZxyz(1.6597, 1.3330, 0.5176)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31180C #0C2531
analogous
#310C13 #31180C #312B0C
triadic
#31180C #0C3118 #180C31
tetradic
#31180C #13310C #0C2531 #2B0C31
square
#31180C #13310C #0C2531 #2B0C31
split-complementary
#31180C #0C312B #0C1331
monochromatic
#190C06 #190C06 #31180C #623018 #934824

Accessibility & contrast

On white

16.58
#31180C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#31180C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31180C
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31180C#FFFFFF#000000##FFFFFF
##31180C1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B0B
Deuteranopia (green-blind)
#25210C
Tritanopia (blue-blind)
#361315
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #31180c;
/* rgb */ color: rgb(49, 24, 12);
/* oklch */ color: oklch(24.1% 0.045 45.6);
Tailwind
colors: {
  custom: {
    50: '#6b554c',
    500: '#31180c',
    950: '#000000',
  },
}
SCSS
$custom: #31180c;
$custom-light: #6b554c;
$custom-dark: #000000;
JSON
{
  "hex": "#31180c",
  "rgb": {
    "r": 49,
    "g": 24,
    "b": 12
  },
  "hsl": {
    "h": 19.459,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24128,
    "c": 0.04535,
    "h": 45.6
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#31180C
secondary
#2C586D
accent
#B0E444
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #31180C

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

Preview Lab → · Contrast checker → · Palette generator →

#31180C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva