#31270D#31270D

#31270D is a dark, muted orange. Relative luminance 0.021; OKLCH L 27.8% C 0.043 H 88.3°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#31270D
RGBrgb(49, 39, 13)
HSLhsl(43, 58%, 12%)
HSVhsv(43, 73%, 19%)
CMYKcmyk(0%, 20.4%, 73.5%, 80.8%)
CIE-LABlab(16.17, 0.85, 18.10)
CIE-LCHlch(16.17, 18.12, 87.32°)
OKLaboklab(27.77% 0.0013 0.0429)
OKLCHoklch(27.77% 0.043 88.3)
XYZxyz(2.0649, 2.1332, 0.6837)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31270D #0D1731
analogous
#31150D #31270D #29310D
triadic
#31270D #0D3127 #270D31
tetradic
#31270D #0D3115 #0D1731 #310D29
square
#31270D #0D3115 #0D1731 #310D29
split-complementary
#31270D #0D2931 #150D31
monochromatic
#181306 #181306 #31270D #614D1A #927427

Accessibility & contrast

On white

14.72
#31270D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#31270D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31270D
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31270D#FFFFFF#000000##FFFFFF
##31270D1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270A
Deuteranopia (green-blind)
#2E290E
Tritanopia (blue-blind)
#362321
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #31270d;
/* rgb */ color: rgb(49, 39, 13);
/* oklch */ color: oklch(27.8% 0.043 88.3);
Tailwind
colors: {
  custom: {
    50: '#6a604d',
    500: '#31270d',
    950: '#000000',
  },
}
SCSS
$custom: #31270d;
$custom-light: #6a604d;
$custom-dark: #000000;
JSON
{
  "hex": "#31270d",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 13
  },
  "hsl": {
    "h": 43.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27767,
    "c": 0.04292,
    "h": 88.3
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#31270D
secondary
#2E3F6C
accent
#72E147
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #31270D

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

Preview Lab → · Contrast checker → · Palette generator →

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