#51310F#51310F

#51310F is a dark, moderate orange. Relative luminance 0.040; OKLCH L 34.6% C 0.066 H 63.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#51310F
RGBrgb(81, 49, 15)
HSLhsl(31, 69%, 19%)
HSVhsv(31, 81%, 32%)
CMYKcmyk(0%, 39.5%, 81.5%, 68.2%)
CIE-LABlab(23.61, 11.20, 26.70)
CIE-LCHlch(23.61, 28.95, 67.25°)
OKLaboklab(34.56% 0.0293 0.0592)
OKLCHoklch(34.56% 0.066 63.7)
XYZxyz(4.5782, 3.9809, 0.9791)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51310F #0F2F51
analogous
#51100F #51310F #50510F
triadic
#51310F #0F5131 #310F51
tetradic
#51310F #0F5110 #0F2F51 #510F50
square
#51310F #0F5110 #0F2F51 #510F50
split-complementary
#51310F #0F5051 #100F51
monochromatic
#1A1005 #1D1205 #51310F #855019 #B86F22

Accessibility & contrast

On white

11.69
#51310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51310F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51310F#FFFFFF#000000##FFFFFF
##51310F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51310f;
/* rgb */ color: rgb(81, 49, 15);
/* oklch */ color: oklch(34.6% 0.066 63.7);
Tailwind
colors: {
  custom: {
    50: '#86694f',
    500: '#51310f',
    950: '#000000',
  },
}
SCSS
$custom: #51310f;
$custom-light: #86694f;
$custom-dark: #000000;
JSON
{
  "hex": "#51310f",
  "rgb": {
    "r": 81,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 30.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34557,
    "c": 0.06605,
    "h": 63.7
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#51310F
secondary
#315D8B
accent
#91EC3C
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #51310F

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

Preview Lab → · Contrast checker → · Palette generator →

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