#311F04#311F04

#311F04 is a dark, muted orange. Relative luminance 0.016; OKLCH L 25.6% C 0.049 H 73.9°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#311F04
RGBrgb(49, 31, 4)
HSLhsl(36, 85%, 10%)
HSVhsv(36, 92%, 19%)
CMYKcmyk(0%, 36.7%, 91.8%, 80.8%)
CIE-LABlab(13.48, 5.66, 18.41)
CIE-LCHlch(13.48, 19.26, 72.90°)
OKLaboklab(25.62% 0.0136 0.047)
OKLCHoklch(25.62% 0.049 73.9)
XYZxyz(1.7787, 1.6419, 0.3381)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311F04 #041631
analogous
#310804 #311F04 #2C3104
triadic
#311F04 #04311F #1F0431
tetradic
#311F04 #043108 #041631 #31042C
square
#311F04 #043108 #041631 #31042C
split-complementary
#311F04 #042C31 #080431
monochromatic
#1C1202 #1C1202 #311F04 #6A4309 #A2670D

Accessibility & contrast

On white

15.81
#311F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #311F04
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311F04#FFFFFF#000000##FFFFFF
##311F041.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252002
Deuteranopia (green-blind)
#2A2405
Tritanopia (blue-blind)
#361A19
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #311f04;
/* rgb */ color: rgb(49, 31, 4);
/* oklch */ color: oklch(25.6% 0.049 73.9);
Tailwind
colors: {
  custom: {
    50: '#6b5a48',
    500: '#311f04',
    950: '#000000',
  },
}
SCSS
$custom: #311f04;
$custom-light: #6b5a48;
$custom-dark: #000000;
JSON
{
  "hex": "#311f04",
  "rgb": {
    "r": 49,
    "g": 31,
    "b": 4
  },
  "hsl": {
    "h": 36,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25624,
    "c": 0.04893,
    "h": 73.9
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#311F04
secondary
#1D4073
accent
#7FFB2D
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070300
muted
#7A7877

Preview Lab

Preview with #311F04

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

Preview Lab → · Contrast checker → · Palette generator →

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