#51310E#51310E

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

Color values

HEX#51310E
RGBrgb(81, 49, 14)
HSLhsl(31, 71%, 19%)
HSVhsv(31, 83%, 32%)
CMYKcmyk(0%, 39.5%, 82.7%, 68.2%)
CIE-LABlab(23.60, 11.15, 27.21)
CIE-LCHlch(23.60, 29.40, 67.72°)
OKLaboklab(34.55% 0.029 0.06)
OKLCHoklch(34.55% 0.067 64.2)
XYZxyz(4.5713, 3.9781, 0.9425)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51310E #0E2E51
analogous
#510F0E #51310E #4F510E
triadic
#51310E #0E5131 #310E51
tetradic
#51310E #0E510F #0E2E51 #510E4F
square
#51310E #0E510F #0E2E51 #510E4F
split-complementary
#51310E #0E4F51 #0F0E51
monochromatic
#1A1005 #1D1105 #51310E #855117 #B97020

Accessibility & contrast

On white

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

On black

1.80
#51310E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##51310E#FFFFFF#000000##FFFFFF
##51310E1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51310e;
/* rgb */ color: rgb(81, 49, 14);
/* oklch */ color: oklch(34.5% 0.067 64.2);
Tailwind
colors: {
  custom: {
    50: '#86694f',
    500: '#51310e',
    950: '#000000',
  },
}
SCSS
$custom: #51310e;
$custom-light: #86694f;
$custom-dark: #000000;
JSON
{
  "hex": "#51310e",
  "rgb": {
    "r": 81,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 31.343,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.34547,
    "c": 0.06666,
    "h": 64.2
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#51310E
secondary
#2F5B8C
accent
#90ED3A
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #51310E

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

Preview Lab → · Contrast checker → · Palette generator →

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