#31240E#31240E

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

Color values

HEX#31240E
RGBrgb(49, 36, 14)
HSLhsl(38, 56%, 12%)
HSVhsv(38, 71%, 19%)
CMYKcmyk(0%, 26.5%, 71.4%, 80.8%)
CIE-LABlab(15.20, 3.00, 16.39)
CIE-LCHlch(15.20, 16.66, 79.62°)
OKLaboklab(27.01% 0.0077 0.0393)
OKLCHoklch(27.01% 0.04 78.9)
XYZxyz(1.9769, 1.9466, 0.6870)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31240E #0E1B31
analogous
#31120E #31240E #2D310E
triadic
#31240E #0E3124 #240E31
tetradic
#31240E #0E3112 #0E1B31 #310E2D
square
#31240E #0E3112 #0E1B31 #310E2D
split-complementary
#31240E #0E2D31 #120E31
monochromatic
#181107 #181107 #31240E #61471C #906A29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31240E#FFFFFF#000000##FFFFFF
##31240E1.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)
#29240C
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#36201F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #31240e;
/* rgb */ color: rgb(49, 36, 14);
/* oklch */ color: oklch(27.0% 0.040 78.9);
Tailwind
colors: {
  custom: {
    50: '#6a5e4d',
    500: '#31240e',
    950: '#000000',
  },
}
SCSS
$custom: #31240e;
$custom-light: #6a5e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#31240e",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 14
  },
  "hsl": {
    "h": 37.714,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27012,
    "c": 0.04009,
    "h": 78.9
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#31240E
secondary
#2F466C
accent
#81DF49
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #31240E

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

Preview Lab → · Contrast checker → · Palette generator →

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