#312002#312002

#312002 is a dark, muted orange. Relative luminance 0.017; OKLCH L 25.8% C 0.051 H 78.1°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#312002
RGBrgb(49, 32, 2)
HSLhsl(38, 92%, 10%)
HSVhsv(38, 96%, 19%)
CMYKcmyk(0%, 34.7%, 95.9%, 80.8%)
CIE-LABlab(13.77, 4.81, 19.61)
CIE-LCHlch(13.77, 20.19, 76.22°)
OKLaboklab(25.84% 0.0106 0.0501)
OKLCHoklch(25.84% 0.051 78.1)
XYZxyz(1.7942, 1.6905, 0.2892)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312002 #021331
analogous
#310902 #312002 #2A3102
triadic
#312002 #023120 #200231
tetradic
#312002 #023109 #021331 #31022A
square
#312002 #023109 #021331 #31022A
split-complementary
#312002 #022A31 #090231
monochromatic
#1D1301 #1D1301 #312002 #6C4604 #A76D07

Accessibility & contrast

On white

15.70
#312002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#312002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312002
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312002#FFFFFF#000000##FFFFFF
##3120021.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262100
Deuteranopia (green-blind)
#2A2503
Tritanopia (blue-blind)
#361B1A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #312002;
/* rgb */ color: rgb(49, 32, 2);
/* oklch */ color: oklch(25.8% 0.051 78.1);
Tailwind
colors: {
  custom: {
    50: '#6b5b47',
    500: '#312002',
    950: '#000000',
  },
}
SCSS
$custom: #312002;
$custom-light: #6b5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#312002",
  "rgb": {
    "r": 49,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 38.298,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.25841,
    "c": 0.0512,
    "h": 78.1
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#312002
secondary
#193B75
accent
#76FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #312002

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

Preview Lab → · Contrast checker → · Palette generator →

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