#512C16#512C16

#512C16 is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.6% C 0.064 H 49.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#512C16
RGBrgb(81, 44, 22)
HSLhsl(22, 57%, 20%)
HSVhsv(22, 73%, 32%)
CMYKcmyk(0%, 45.7%, 72.8%, 68.2%)
CIE-LABlab(22.33, 14.83, 21.32)
CIE-LCHlch(22.33, 25.97, 55.18°)
OKLaboklab(33.6% 0.0414 0.0492)
OKLCHoklch(33.6% 0.064 49.9)
XYZxyz(4.4392, 3.6091, 1.2217)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512C16 #163B51
analogous
#51161D #512C16 #514A16
triadic
#512C16 #16512C #2C1651
tetradic
#512C16 #1D5116 #163B51 #4A1651
square
#512C16 #1D5116 #163B51 #4A1651
split-complementary
#512C16 #16514A #161D51
monochromatic
#180D07 #211209 #512C16 #814623 #B16030

Accessibility & contrast

On white

12.20
#512C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#512C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512C16
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512C16#FFFFFF#000000##FFFFFF
##512C161.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363014
Deuteranopia (green-blind)
#3F3916
Tritanopia (blue-blind)
#592527
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512c16;
/* rgb */ color: rgb(81, 44, 22);
/* oklch */ color: oklch(33.6% 0.064 49.9);
Tailwind
colors: {
  custom: {
    50: '#856554',
    500: '#512c16',
    950: '#000000',
  },
}
SCSS
$custom: #512c16;
$custom-light: #856554;
$custom-dark: #000000;
JSON
{
  "hex": "#512c16",
  "rgb": {
    "r": 81,
    "g": 44,
    "b": 22
  },
  "hsl": {
    "h": 22.373,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.0643,
    "h": 49.9
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#512C16
secondary
#3A6B88
accent
#A7E147
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512C16

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

Preview Lab → · Contrast checker → · Palette generator →

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