#31291F#31291F

#31291F is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.7% C 0.021 H 73.0°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#31291F
RGBrgb(49, 41, 31)
HSLhsl(33, 23%, 16%)
HSVhsv(33, 37%, 19%)
CMYKcmyk(0%, 16.3%, 36.7%, 80.8%)
CIE-LABlab(17.17, 1.80, 7.94)
CIE-LCHlch(17.17, 8.14, 77.25°)
OKLaboklab(28.66% 0.0062 0.0201)
OKLCHoklch(28.66% 0.021 73)
XYZxyz(2.3069, 2.3379, 1.6258)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31291F #1F2731
analogous
#31201F #31291F #30311F
triadic
#31291F #1F3129 #291F31
tetradic
#31291F #1F3120 #1F2731 #311F30
square
#31291F #1F3120 #1F2731 #311F30
split-complementary
#31291F #1F3031 #201F31
monochromatic
#13100C #13100C #31291F #564837 #7C684E

Accessibility & contrast

On white

14.31
#31291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#31291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31291F
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31291F#FFFFFF#000000##FFFFFF
##31291F1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291E
Deuteranopia (green-blind)
#2E2B1F
Tritanopia (blue-blind)
#342726
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #31291f;
/* rgb */ color: rgb(49, 41, 31);
/* oklch */ color: oklch(28.7% 0.021 73.0);
Tailwind
colors: {
  custom: {
    50: '#69625a',
    500: '#31291f',
    950: '#000000',
  },
}
SCSS
$custom: #31291f;
$custom-light: #69625a;
$custom-dark: #000000;
JSON
{
  "hex": "#31291f",
  "rgb": {
    "r": 49,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 33.333,
    "s": 22.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28662,
    "c": 0.02105,
    "h": 73
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#31291F
secondary
#485463
accent
#8FBF69
background
#F6F5F5
surface
#EBEAE9
border
#C6C6C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #31291F

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

Preview Lab → · Contrast checker → · Palette generator →

#31291F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva