#51310C#51310C

#51310C is a dark, moderate orange. Relative luminance 0.040; OKLCH L 34.5% C 0.068 H 65.3°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#51310C
RGBrgb(81, 49, 12)
HSLhsl(32, 74%, 18%)
HSVhsv(32, 85%, 32%)
CMYKcmyk(0%, 39.5%, 85.2%, 68.2%)
CIE-LABlab(23.58, 11.05, 28.15)
CIE-LCHlch(23.58, 30.24, 68.57°)
OKLaboklab(34.53% 0.0284 0.0616)
OKLCHoklch(34.53% 0.068 65.3)
XYZxyz(4.5584, 3.9729, 0.8745)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51310C #0C2C51
analogous
#510E0C #51310C #4E510C
triadic
#51310C #0C5131 #310C51
tetradic
#51310C #0C510E #0C2C51 #510C4E
square
#51310C #0C510E #0C2C51 #510C4E
split-complementary
#51310C #0C4E51 #0E0C51
monochromatic
#1B1004 #1C1104 #51310C #865114 #BC711C

Accessibility & contrast

On white

11.70
#51310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#51310C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51310C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51310C#FFFFFF#000000##FFFFFF
##51310C1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3407
Deuteranopia (green-blind)
#433B0D
Tritanopia (blue-blind)
#592A2A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #51310c;
/* rgb */ color: rgb(81, 49, 12);
/* oklch */ color: oklch(34.5% 0.068 65.3);
Tailwind
colors: {
  custom: {
    50: '#86694e',
    500: '#51310c',
    950: '#000000',
  },
}
SCSS
$custom: #51310c;
$custom-light: #86694e;
$custom-dark: #000000;
JSON
{
  "hex": "#51310c",
  "rgb": {
    "r": 81,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 32.174,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.06781,
    "h": 65.3
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#51310C
secondary
#2C598C
accent
#8DF137
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0601
muted
#7D7A77

Preview Lab

Preview with #51310C

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

Preview Lab → · Contrast checker → · Palette generator →

#51310C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva