#312102#312102

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

Color values

HEX#312102
RGBrgb(49, 33, 2)
HSLhsl(40, 92%, 10%)
HSVhsv(40, 96%, 19%)
CMYKcmyk(0%, 32.7%, 95.9%, 80.8%)
CIE-LABlab(14.09, 4.11, 20.02)
CIE-LCHlch(14.09, 20.44, 78.40°)
OKLaboklab(26.09% 0.0086 0.0507)
OKLCHoklch(26.09% 0.051 80.4)
XYZxyz(1.8216, 1.7452, 0.2983)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312102 #021231
analogous
#310902 #312102 #2A3102
triadic
#312102 #023121 #210231
tetradic
#312102 #023109 #021231 #31022A
square
#312102 #023109 #021231 #31022A
split-complementary
#312102 #022A31 #090231
monochromatic
#1D1401 #1D1401 #312102 #6C4904 #A77007

Accessibility & contrast

On white

15.57
#312102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#312102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312102
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312102#FFFFFF#000000##FFFFFF
##3121021.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#2B2503
Tritanopia (blue-blind)
#361C1B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #312102;
/* rgb */ color: rgb(49, 33, 2);
/* oklch */ color: oklch(26.1% 0.051 80.4);
Tailwind
colors: {
  custom: {
    50: '#6b5c47',
    500: '#312102',
    950: '#000000',
  },
}
SCSS
$custom: #312102;
$custom-light: #6b5c47;
$custom-dark: #000000;
JSON
{
  "hex": "#312102",
  "rgb": {
    "r": 49,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 39.574,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.26089,
    "c": 0.05139,
    "h": 80.4
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#312102
secondary
#193975
accent
#72FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #312102

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

Preview Lab → · Contrast checker → · Palette generator →

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