#31240A#31240A

#31240A is a dark, muted orange. Relative luminance 0.019; OKLCH L 27.0% C 0.044 H 82.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#31240A
RGBrgb(49, 36, 10)
HSLhsl(40, 66%, 12%)
HSVhsv(40, 80%, 19%)
CMYKcmyk(0%, 26.5%, 79.6%, 80.8%)
CIE-LABlab(15.15, 2.66, 18.14)
CIE-LCHlch(15.15, 18.34, 81.66°)
OKLaboklab(26.95% 0.0061 0.0438)
OKLCHoklch(26.95% 0.044 82.1)
XYZxyz(1.9524, 1.9368, 0.5581)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31240A #0A1731
analogous
#31110A #31240A #2B310A
triadic
#31240A #0A3124 #240A31
tetradic
#31240A #0A3111 #0A1731 #310A2B
square
#31240A #0A3111 #0A1731 #310A2B
split-complementary
#31240A #0A2B31 #110A31
monochromatic
#191305 #191305 #31240A #644914 #976F1F

Accessibility & contrast

On white

15.14
#31240A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#31240A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31240A
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31240A#FFFFFF#000000##FFFFFF
##31240A1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292407
Deuteranopia (green-blind)
#2D270B
Tritanopia (blue-blind)
#36201E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #31240a;
/* rgb */ color: rgb(49, 36, 10);
/* oklch */ color: oklch(27.0% 0.044 82.1);
Tailwind
colors: {
  custom: {
    50: '#6b5e4b',
    500: '#31240a',
    950: '#000000',
  },
}
SCSS
$custom: #31240a;
$custom-light: #6b5e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#31240a",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 10
  },
  "hsl": {
    "h": 40,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.26954,
    "c": 0.04417,
    "h": 82.1
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#31240A
secondary
#29406E
accent
#78E93F
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #31240A

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

Preview Lab → · Contrast checker → · Palette generator →

#31240A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva