#311F07#311F07

#311F07 is a dark, muted orange. Relative luminance 0.016; OKLCH L 25.7% C 0.046 H 71.0°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#311F07
RGBrgb(49, 31, 7)
HSLhsl(34, 75%, 11%)
HSVhsv(34, 86%, 19%)
CMYKcmyk(0%, 36.7%, 85.7%, 80.8%)
CIE-LABlab(13.52, 5.90, 17.24)
CIE-LCHlch(13.52, 18.22, 71.10°)
OKLaboklab(25.67% 0.015 0.0434)
OKLCHoklch(25.67% 0.046 71)
XYZxyz(1.7951, 1.6484, 0.4246)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311F07 #071931
analogous
#310A07 #311F07 #2E3107
triadic
#311F07 #07311F #1F0731
tetradic
#311F07 #07310A #071931 #31072E
square
#311F07 #07310A #071931 #31072E
split-complementary
#311F07 #072E31 #0A0731
monochromatic
#1B1104 #1B1104 #311F07 #67410F #9C6316

Accessibility & contrast

On white

15.79
#311F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#311F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311F07
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311F07#FFFFFF#000000##FFFFFF
##311F071.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252005
Deuteranopia (green-blind)
#292408
Tritanopia (blue-blind)
#361B1A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #311f07;
/* rgb */ color: rgb(49, 31, 7);
/* oklch */ color: oklch(25.7% 0.046 71.0);
Tailwind
colors: {
  custom: {
    50: '#6b5a4a',
    500: '#311f07',
    950: '#000000',
  },
}
SCSS
$custom: #311f07;
$custom-light: #6b5a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#311f07",
  "rgb": {
    "r": 49,
    "g": 31,
    "b": 7
  },
  "hsl": {
    "h": 34.286,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.25667,
    "c": 0.04593,
    "h": 71
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#311F07
secondary
#234471
accent
#87F236
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #311F07

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

Preview Lab → · Contrast checker → · Palette generator →

#311F07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva