#31291C#31291C

#31291C is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.6% C 0.025 H 79.6°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#31291C
RGBrgb(49, 41, 28)
HSLhsl(37, 27%, 15%)
HSVhsv(37, 43%, 19%)
CMYKcmyk(0%, 16.3%, 42.9%, 80.8%)
CIE-LABlab(17.10, 1.31, 9.91)
CIE-LCHlch(17.10, 9.99, 82.46°)
OKLaboklab(28.58% 0.0046 0.0248)
OKLCHoklch(28.58% 0.025 79.6)
XYZxyz(2.2692, 2.3228, 1.4272)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31291C #1C2431
analogous
#311E1C #31291C #2E311C
triadic
#31291C #1C3129 #291C31
tetradic
#31291C #1C311E #1C2431 #311C2E
square
#31291C #1C311E #1C2431 #311C2E
split-complementary
#31291C #1C2E31 #1E1C31
monochromatic
#13100B #13100B #31291C #584A32 #7F6A49

Accessibility & contrast

On white

14.34
#31291C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#31291C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31291C
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31291C#FFFFFF#000000##FFFFFF
##31291C1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31291c;
/* rgb */ color: rgb(49, 41, 28);
/* oklch */ color: oklch(28.6% 0.025 79.6);
Tailwind
colors: {
  custom: {
    50: '#696258',
    500: '#31291c',
    950: '#000000',
  },
}
SCSS
$custom: #31291c;
$custom-light: #696258;
$custom-dark: #000000;
JSON
{
  "hex": "#31291c",
  "rgb": {
    "r": 49,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 37.143,
    "s": 27.273,
    "l": 15.098
  },
  "oklch": {
    "l": 0.28583,
    "c": 0.0252,
    "h": 79.6
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#31291C
secondary
#445165
accent
#89C464
background
#F6F5F5
surface
#EBEAE9
border
#C6C6C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #31291C

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

Preview Lab → · Contrast checker → · Palette generator →

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