#31270B#31270B

#31270B is a dark, muted orange. Relative luminance 0.021; OKLCH L 27.7% C 0.045 H 89.4°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#31270B
RGBrgb(49, 39, 11)
HSLhsl(44, 63%, 12%)
HSVhsv(44, 78%, 19%)
CMYKcmyk(0%, 20.4%, 77.6%, 80.8%)
CIE-LABlab(16.15, 0.68, 18.98)
CIE-LCHlch(16.15, 18.99, 87.96°)
OKLaboklab(27.74% 0.0005 0.045)
OKLCHoklch(27.74% 0.045 89.4)
XYZxyz(2.0527, 2.1283, 0.6192)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31270B #0B1531
analogous
#31140B #31270B #28310B
triadic
#31270B #0B3127 #270B31
tetradic
#31270B #0B3114 #0B1531 #310B28
square
#31270B #0B3114 #0B1531 #310B28
split-complementary
#31270B #0B2831 #140B31
monochromatic
#191406 #191406 #31270B #634F16 #957721

Accessibility & contrast

On white

14.73
#31270B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31270B
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31270B#FFFFFF#000000##FFFFFF
##31270B1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31270b;
/* rgb */ color: rgb(49, 39, 11);
/* oklch */ color: oklch(27.7% 0.045 89.4);
Tailwind
colors: {
  custom: {
    50: '#6b604c',
    500: '#31270b',
    950: '#000000',
  },
}
SCSS
$custom: #31270b;
$custom-light: #6b604c;
$custom-dark: #000000;
JSON
{
  "hex": "#31270b",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 11
  },
  "hsl": {
    "h": 44.211,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2774,
    "c": 0.04501,
    "h": 89.4
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#31270B
secondary
#2A3C6E
accent
#6DE641
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #31270B

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

Preview Lab → · Contrast checker → · Palette generator →

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