#31240D#31240D

#31240D is a dark, muted orange. Relative luminance 0.019; OKLCH L 27.0% C 0.041 H 79.8°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#31240D
RGBrgb(49, 36, 13)
HSLhsl(38, 58%, 12%)
HSVhsv(38, 73%, 19%)
CMYKcmyk(0%, 26.5%, 73.5%, 80.8%)
CIE-LABlab(15.19, 2.91, 16.86)
CIE-LCHlch(15.19, 17.11, 80.20°)
OKLaboklab(27% 0.0073 0.0405)
OKLCHoklch(27% 0.041 79.8)
XYZxyz(1.9703, 1.9439, 0.6521)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31240D #0D1A31
analogous
#31120D #31240D #2C310D
triadic
#31240D #0D3124 #240D31
tetradic
#31240D #0D3112 #0D1A31 #310D2C
square
#31240D #0D3112 #0D1A31 #310D2C
split-complementary
#31240D #0D2C31 #120D31
monochromatic
#181206 #181206 #31240D #61481A #926B27

Accessibility & contrast

On white

15.12
#31240D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#31240D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31240D
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31240D#FFFFFF#000000##FFFFFF
##31240D1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240B
Deuteranopia (green-blind)
#2C270E
Tritanopia (blue-blind)
#36201F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #31240d;
/* rgb */ color: rgb(49, 36, 13);
/* oklch */ color: oklch(27.0% 0.041 79.8);
Tailwind
colors: {
  custom: {
    50: '#6b5e4d',
    500: '#31240d',
    950: '#000000',
  },
}
SCSS
$custom: #31240d;
$custom-light: #6b5e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#31240d",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 13
  },
  "hsl": {
    "h": 38.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.26996,
    "c": 0.04116,
    "h": 79.8
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#31240D
secondary
#2E446C
accent
#7EE147
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #31240D

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

Preview Lab → · Contrast checker → · Palette generator →

#31240D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva