#512E17#512E17

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

Color values

HEX#512E17
RGBrgb(81, 46, 23)
HSLhsl(24, 56%, 20%)
HSVhsv(24, 72%, 32%)
CMYKcmyk(0%, 43.2%, 71.6%, 68.2%)
CIE-LABlab(22.88, 13.63, 21.34)
CIE-LCHlch(22.88, 25.32, 57.43°)
OKLaboklab(34.03% 0.038 0.0494)
OKLCHoklch(34.03% 0.062 52.4)
XYZxyz(4.5253, 3.7656, 1.2990)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512E17 #173A51
analogous
#51171D #512E17 #514B17
triadic
#512E17 #17512E #2E1751
tetradic
#512E17 #1D5117 #173A51 #4B1751
square
#512E17 #1D5117 #173A51 #4B1751
split-complementary
#512E17 #17514B #171D51
monochromatic
#180E07 #211309 #512E17 #814925 #B06432

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##512E17#FFFFFF#000000##FFFFFF
##512E171.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)
#383215
Deuteranopia (green-blind)
#403A17
Tritanopia (blue-blind)
#592729
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512e17;
/* rgb */ color: rgb(81, 46, 23);
/* oklch */ color: oklch(34.0% 0.062 52.4);
Tailwind
colors: {
  custom: {
    50: '#856755',
    500: '#512e17',
    950: '#000000',
  },
}
SCSS
$custom: #512e17;
$custom-light: #856755;
$custom-dark: #000000;
JSON
{
  "hex": "#512e17",
  "rgb": {
    "r": 81,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 23.793,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34025,
    "c": 0.06231,
    "h": 52.4
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#512E17
secondary
#3C6A88
accent
#A3DF49
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0603
muted
#7C7A78

Preview Lab

Preview with #512E17

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

Preview Lab → · Contrast checker → · Palette generator →

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