#31240C#31240C

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

Color values

HEX#31240C
RGBrgb(49, 36, 12)
HSLhsl(39, 61%, 12%)
HSVhsv(39, 76%, 19%)
CMYKcmyk(0%, 26.5%, 75.5%, 80.8%)
CIE-LABlab(15.18, 2.82, 17.31)
CIE-LCHlch(15.18, 17.54, 80.74°)
OKLaboklab(26.98% 0.0069 0.0416)
OKLCHoklch(26.98% 0.042 80.6)
XYZxyz(1.9640, 1.9414, 0.6190)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31240C #0C1931
analogous
#31120C #31240C #2C310C
triadic
#31240C #0C3124 #240C31
tetradic
#31240C #0C3112 #0C1931 #310C2C
square
#31240C #0C3112 #0C1931 #310C2C
split-complementary
#31240C #0C2C31 #120C31
monochromatic
#191206 #191206 #31240C #624818 #936C24

Accessibility & contrast

On white

15.13
#31240C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31240C
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31240C#FFFFFF#000000##FFFFFF
##31240C1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240A
Deuteranopia (green-blind)
#2C270D
Tritanopia (blue-blind)
#36201F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #31240c;
/* rgb */ color: rgb(49, 36, 12);
/* oklch */ color: oklch(27.0% 0.042 80.6);
Tailwind
colors: {
  custom: {
    50: '#6b5e4c',
    500: '#31240c',
    950: '#000000',
  },
}
SCSS
$custom: #31240c;
$custom-light: #6b5e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#31240c",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 12
  },
  "hsl": {
    "h": 38.919,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.26981,
    "c": 0.04219,
    "h": 80.6
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#31240C
secondary
#2C436D
accent
#7CE444
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #31240C

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

Preview Lab → · Contrast checker → · Palette generator →

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