#512A16#512A16

#512A16 is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.2% C 0.066 H 46.6°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#512A16
RGBrgb(81, 42, 22)
HSLhsl(20, 57%, 20%)
HSVhsv(20, 73%, 32%)
CMYKcmyk(0%, 48.1%, 72.8%, 68.2%)
CIE-LABlab(21.81, 16.09, 20.72)
CIE-LCHlch(21.81, 26.23, 52.17°)
OKLaboklab(33.2% 0.0452 0.0479)
OKLCHoklch(33.2% 0.066 46.6)
XYZxyz(4.3665, 3.4637, 1.1975)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512A16 #163D51
analogous
#51161F #512A16 #514716
triadic
#512A16 #16512A #2A1651
tetradic
#512A16 #1F5116 #163D51 #471651
square
#512A16 #1F5116 #163D51 #471651
split-complementary
#512A16 #165147 #161F51
monochromatic
#180C07 #211109 #512A16 #814323 #B15C30

Accessibility & contrast

On white

12.41
#512A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#512A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512A16
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512A16#FFFFFF#000000##FFFFFF
##512A161.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F14
Deuteranopia (green-blind)
#3E3816
Tritanopia (blue-blind)
#592225
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #512a16;
/* rgb */ color: rgb(81, 42, 22);
/* oklch */ color: oklch(33.2% 0.066 46.6);
Tailwind
colors: {
  custom: {
    50: '#866454',
    500: '#512a16',
    950: '#000000',
  },
}
SCSS
$custom: #512a16;
$custom-light: #866454;
$custom-dark: #000000;
JSON
{
  "hex": "#512a16",
  "rgb": {
    "r": 81,
    "g": 42,
    "b": 22
  },
  "hsl": {
    "h": 20.339,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.33198,
    "c": 0.06586,
    "h": 46.6
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#512A16
secondary
#3A6E88
accent
#ADE147
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512A16

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

Preview Lab → · Contrast checker → · Palette generator →

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