#31270E#31270E

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

Color values

HEX#31270E
RGBrgb(49, 39, 14)
HSLhsl(43, 56%, 12%)
HSVhsv(43, 71%, 19%)
CMYKcmyk(0%, 20.4%, 71.4%, 80.8%)
CIE-LABlab(16.18, 0.94, 17.63)
CIE-LCHlch(16.18, 17.65, 86.95°)
OKLaboklab(27.78% 0.0017 0.0418)
OKLCHoklch(27.78% 0.042 87.7)
XYZxyz(2.0715, 2.1358, 0.7185)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31270E #0E1831
analogous
#31150E #31270E #2A310E
triadic
#31270E #0E3127 #270E31
tetradic
#31270E #0E3115 #0E1831 #310E2A
square
#31270E #0E3115 #0E1831 #310E2A
split-complementary
#31270E #0E2A31 #150E31
monochromatic
#181307 #181307 #31270E #614D1C #907329

Accessibility & contrast

On white

14.71
#31270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31270E
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31270E#FFFFFF#000000##FFFFFF
##31270E1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270C
Deuteranopia (green-blind)
#2E290F
Tritanopia (blue-blind)
#352321
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #31270e;
/* rgb */ color: rgb(49, 39, 14);
/* oklch */ color: oklch(27.8% 0.042 87.7);
Tailwind
colors: {
  custom: {
    50: '#6a604d',
    500: '#31270e',
    950: '#000000',
  },
}
SCSS
$custom: #31270e;
$custom-light: #6a604d;
$custom-dark: #000000;
JSON
{
  "hex": "#31270e",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 42.857,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27782,
    "c": 0.04182,
    "h": 87.7
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#31270E
secondary
#2F416C
accent
#74DF49
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #31270E

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

Preview Lab → · Contrast checker → · Palette generator →

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