#512E16#512E16

#512E16 is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.0% C 0.063 H 53.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#512E16
RGBrgb(81, 46, 22)
HSLhsl(24, 57%, 20%)
HSVhsv(24, 73%, 32%)
CMYKcmyk(0%, 43.2%, 72.8%, 68.2%)
CIE-LABlab(22.87, 13.56, 21.93)
CIE-LCHlch(22.87, 25.78, 58.27°)
OKLaboklab(34.01% 0.0376 0.0505)
OKLCHoklch(34.01% 0.063 53.3)
XYZxyz(4.5155, 3.7617, 1.2472)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512E16 #163951
analogous
#51161B #512E16 #514C16
triadic
#512E16 #16512E #2E1651
tetradic
#512E16 #1B5116 #163951 #4C1651
square
#512E16 #1B5116 #163951 #4C1651
split-complementary
#512E16 #16514C #161B51
monochromatic
#180E07 #211309 #512E16 #814923 #B16530

Accessibility & contrast

On white

11.98
#512E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#512E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512E16
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512E16#FFFFFF#000000##FFFFFF
##512E161.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383214
Deuteranopia (green-blind)
#403A16
Tritanopia (blue-blind)
#592729
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512e16;
/* rgb */ color: rgb(81, 46, 22);
/* oklch */ color: oklch(34.0% 0.063 53.3);
Tailwind
colors: {
  custom: {
    50: '#856754',
    500: '#512e16',
    950: '#000000',
  },
}
SCSS
$custom: #512e16;
$custom-light: #856754;
$custom-dark: #000000;
JSON
{
  "hex": "#512e16",
  "rgb": {
    "r": 81,
    "g": 46,
    "b": 22
  },
  "hsl": {
    "h": 24.407,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3401,
    "c": 0.06295,
    "h": 53.3
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#512E16
secondary
#3A6988
accent
#A2E147
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0602
muted
#7C7A78

Preview Lab

Preview with #512E16

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

Preview Lab → · Contrast checker → · Palette generator →

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