#31270C#31270C

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

Color values

HEX#31270C
RGBrgb(49, 39, 12)
HSLhsl(44, 61%, 12%)
HSVhsv(44, 76%, 19%)
CMYKcmyk(0%, 20.4%, 75.5%, 80.8%)
CIE-LABlab(16.16, 0.76, 18.55)
CIE-LCHlch(16.16, 18.57, 87.66°)
OKLaboklab(27.75% 0.0009 0.044)
OKLCHoklch(27.75% 0.044 88.9)
XYZxyz(2.0586, 2.1307, 0.6506)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31270C #0C1631
analogous
#31150C #31270C #29310C
triadic
#31270C #0C3127 #270C31
tetradic
#31270C #0C3115 #0C1631 #310C29
square
#31270C #0C3115 #0C1631 #310C29
split-complementary
#31270C #0C2931 #150C31
monochromatic
#191406 #191406 #31270C #624E18 #937524

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31270C#FFFFFF#000000##FFFFFF
##31270C1.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)
#2C2709
Deuteranopia (green-blind)
#2F290D
Tritanopia (blue-blind)
#362321
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #31270c;
/* rgb */ color: rgb(49, 39, 12);
/* oklch */ color: oklch(27.8% 0.044 88.9);
Tailwind
colors: {
  custom: {
    50: '#6a604c',
    500: '#31270c',
    950: '#000000',
  },
}
SCSS
$custom: #31270c;
$custom-light: #6a604c;
$custom-dark: #000000;
JSON
{
  "hex": "#31270c",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 12
  },
  "hsl": {
    "h": 43.784,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27753,
    "c": 0.04399,
    "h": 88.9
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#31270C
secondary
#2C3D6D
accent
#6FE444
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #31270C

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

Preview Lab → · Contrast checker → · Palette generator →

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