#51340C#51340C

#51340C is a dark, moderate orange. Relative luminance 0.042; OKLCH L 35.2% C 0.067 H 70.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#51340C
RGBrgb(81, 52, 12)
HSLhsl(35, 74%, 18%)
HSVhsv(35, 85%, 32%)
CMYKcmyk(0%, 35.8%, 85.2%, 68.2%)
CIE-LABlab(24.43, 9.12, 28.98)
CIE-LCHlch(24.43, 30.39, 72.53°)
OKLaboklab(35.18% 0.0227 0.0633)
OKLCHoklch(35.18% 0.067 70.3)
XYZxyz(4.6881, 4.2323, 0.9178)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51340C #0C2951
analogous
#51110C #51340C #4B510C
triadic
#51340C #0C5134 #340C51
tetradic
#51340C #0C5111 #0C2951 #510C4B
square
#51340C #0C5111 #0C2951 #510C4B
split-complementary
#51340C #0C4B51 #110C51
monochromatic
#1B1104 #1C1204 #51340C #865614 #BC781C

Accessibility & contrast

On white

11.37
#51340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#51340C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51340C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51340C#FFFFFF#000000##FFFFFF
##51340C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3606
Deuteranopia (green-blind)
#453D0D
Tritanopia (blue-blind)
#592D2C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #51340c;
/* rgb */ color: rgb(81, 52, 12);
/* oklch */ color: oklch(35.2% 0.067 70.3);
Tailwind
colors: {
  custom: {
    50: '#866b4e',
    500: '#51340c',
    950: '#000000',
  },
}
SCSS
$custom: #51340c;
$custom-light: #866b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#51340c",
  "rgb": {
    "r": 81,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 34.783,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35184,
    "c": 0.06727,
    "h": 70.3
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#51340C
secondary
#2C558C
accent
#85F137
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #51340C

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

Preview Lab → · Contrast checker → · Palette generator →

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