#512D16#512D16

#512D16 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.8% C 0.064 H 51.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#512D16
RGBrgb(81, 45, 22)
HSLhsl(23, 57%, 20%)
HSVhsv(23, 73%, 32%)
CMYKcmyk(0%, 44.4%, 72.8%, 68.2%)
CIE-LABlab(22.60, 14.19, 21.62)
CIE-LCHlch(22.60, 25.87, 56.72°)
OKLaboklab(33.8% 0.0395 0.0498)
OKLCHoklch(33.8% 0.064 51.6)
XYZxyz(4.4769, 3.6845, 1.2343)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D16 #163A51
analogous
#51161C #512D16 #514B16
triadic
#512D16 #16512D #2D1651
tetradic
#512D16 #1C5116 #163A51 #4B1651
square
#512D16 #1C5116 #163A51 #4B1651
split-complementary
#512D16 #16514B #161C51
monochromatic
#180D07 #211209 #512D16 #814823 #B16230

Accessibility & contrast

On white

12.09
#512D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#512D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512D16
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D16#FFFFFF#000000##FFFFFF
##512D161.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373114
Deuteranopia (green-blind)
#403916
Tritanopia (blue-blind)
#592628
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512d16;
/* rgb */ color: rgb(81, 45, 22);
/* oklch */ color: oklch(33.8% 0.064 51.6);
Tailwind
colors: {
  custom: {
    50: '#856654',
    500: '#512d16',
    950: '#000000',
  },
}
SCSS
$custom: #512d16;
$custom-light: #856654;
$custom-dark: #000000;
JSON
{
  "hex": "#512d16",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 22
  },
  "hsl": {
    "h": 23.39,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.33803,
    "c": 0.06359,
    "h": 51.6
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#512D16
secondary
#3A6A88
accent
#A5E147
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0602
muted
#7C7A78

Preview Lab

Preview with #512D16

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

Preview Lab → · Contrast checker → · Palette generator →

#512D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva