#312504#312504

#312504 is a dark, muted orange. Relative luminance 0.020; OKLCH L 27.1% C 0.051 H 88.2°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#312504
RGBrgb(49, 37, 4)
HSLhsl(44, 85%, 10%)
HSVhsv(44, 92%, 19%)
CMYKcmyk(0%, 24.5%, 91.8%, 80.8%)
CIE-LABlab(15.41, 1.50, 20.91)
CIE-LCHlch(15.41, 20.97, 85.89°)
OKLaboklab(27.13% 0.0016 0.0508)
OKLCHoklch(27.13% 0.051 88.2)
XYZxyz(1.9502, 1.9850, 0.3953)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312504 #041031
analogous
#310E04 #312504 #263104
triadic
#312504 #043125 #250431
tetradic
#312504 #04310E #041031 #310426
square
#312504 #04310E #041031 #310426
split-complementary
#312504 #042631 #0E0431
monochromatic
#1C1502 #1C1502 #312504 #6A5009 #A27A0D

Accessibility & contrast

On white

15.03
#312504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#312504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312504
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312504#FFFFFF#000000##FFFFFF
##3125041.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2501
Deuteranopia (green-blind)
#2E2805
Tritanopia (blue-blind)
#36211E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #312504;
/* rgb */ color: rgb(49, 37, 4);
/* oklch */ color: oklch(27.1% 0.051 88.2);
Tailwind
colors: {
  custom: {
    50: '#6b5f48',
    500: '#312504',
    950: '#000000',
  },
}
SCSS
$custom: #312504;
$custom-light: #6b5f48;
$custom-dark: #000000;
JSON
{
  "hex": "#312504",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 4
  },
  "hsl": {
    "h": 44,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27133,
    "c": 0.05082,
    "h": 88.2
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#312504
secondary
#1D3473
accent
#64FB2D
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #312504

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

Preview Lab → · Contrast checker → · Palette generator →

#312504 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva