#312508#312508

#312508 is a dark, muted orange. Relative luminance 0.020; OKLCH L 27.2% C 0.047 H 86.0°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#312508
RGBrgb(49, 37, 8)
HSLhsl(42, 72%, 11%)
HSVhsv(42, 84%, 19%)
CMYKcmyk(0%, 24.5%, 83.7%, 80.8%)
CIE-LABlab(15.45, 1.81, 19.34)
CIE-LCHlch(15.45, 19.43, 84.64°)
OKLaboklab(27.18% 0.0033 0.0465)
OKLCHoklch(27.18% 0.047 86)
XYZxyz(1.9721, 1.9938, 0.5106)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312508 #081431
analogous
#311008 #312508 #283108
triadic
#312508 #083125 #250831
tetradic
#312508 #083110 #081431 #310828
square
#312508 #083110 #081431 #310828
split-complementary
#312508 #082831 #100831
monochromatic
#1A1404 #1A1404 #312508 #664D11 #9A7419

Accessibility & contrast

On white

15.01
#312508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312508
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312508#FFFFFF#000000##FFFFFF
##3125081.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2505
Deuteranopia (green-blind)
#2D2809
Tritanopia (blue-blind)
#36211F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #312508;
/* rgb */ color: rgb(49, 37, 8);
/* oklch */ color: oklch(27.2% 0.047 86.0);
Tailwind
colors: {
  custom: {
    50: '#6b5f4a',
    500: '#312508',
    950: '#000000',
  },
}
SCSS
$custom: #312508;
$custom-light: #6b5f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#312508",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 8
  },
  "hsl": {
    "h": 42.439,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27184,
    "c": 0.04665,
    "h": 86
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#312508
secondary
#253B70
accent
#6EEF39
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070401
muted
#7A7977

Preview Lab

Preview with #312508

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

Preview Lab → · Contrast checker → · Palette generator →

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