#311202#311202

#311202 is a very dark, muted orange. Relative luminance 0.011; OKLCH L 22.7% C 0.058 H 47.7°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#311202
RGBrgb(49, 18, 2)
HSLhsl(20, 92%, 10%)
HSVhsv(20, 96%, 19%)
CMYKcmyk(0%, 63.3%, 95.9%, 80.8%)
CIE-LABlab(9.72, 14.38, 14.05)
CIE-LCHlch(9.72, 20.11, 44.34°)
OKLaboklab(22.71% 0.0388 0.0426)
OKLCHoklch(22.71% 0.058 47.7)
XYZxyz(1.4940, 1.0902, 0.1892)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311202 #022131
analogous
#310209 #311202 #312A02
triadic
#311202 #023112 #120231
tetradic
#311202 #093102 #022131 #2A0231
square
#311202 #093102 #022131 #2A0231
split-complementary
#311202 #02312A #020931
monochromatic
#1D0B01 #1D0B01 #311202 #6C2804 #A73D07

Accessibility & contrast

On white

17.24
#311202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#311202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311202
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311202#FFFFFF#000000##FFFFFF
##3112021.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1701
Deuteranopia (green-blind)
#221E02
Tritanopia (blue-blind)
#370B0E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #311202;
/* rgb */ color: rgb(49, 18, 2);
/* oklch */ color: oklch(22.7% 0.058 47.7);
Tailwind
colors: {
  custom: {
    50: '#6c5047',
    500: '#311202',
    950: '#000000',
  },
}
SCSS
$custom: #311202;
$custom-light: #6c5047;
$custom-dark: #000000;
JSON
{
  "hex": "#311202",
  "rgb": {
    "r": 49,
    "g": 18,
    "b": 2
  },
  "hsl": {
    "h": 20.426,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.2271,
    "c": 0.05756,
    "h": 47.7
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#311202
secondary
#195675
accent
#B6FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070200
muted
#7A7877

Preview Lab

Preview with #311202

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

Preview Lab → · Contrast checker → · Palette generator →

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