#512D11#512D11

#512D11 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.7% C 0.067 H 55.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#512D11
RGBrgb(81, 45, 17)
HSLhsl(26, 65%, 19%)
HSVhsv(26, 79%, 32%)
CMYKcmyk(0%, 44.4%, 79%, 68.2%)
CIE-LABlab(22.54, 13.87, 24.50)
CIE-LCHlch(22.54, 28.15, 60.49°)
OKLaboklab(33.74% 0.0376 0.055)
OKLCHoklch(33.74% 0.067 55.6)
XYZxyz(4.4333, 3.6670, 1.0045)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D11 #113551
analogous
#511115 #512D11 #514D11
triadic
#512D11 #11512D #2D1151
tetradic
#512D11 #155111 #113551 #4D1151
square
#512D11 #155111 #113551 #4D1151
split-complementary
#512D11 #11514D #111551
monochromatic
#190E05 #1E1106 #512D11 #84491C #B66526

Accessibility & contrast

On white

12.11
#512D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#512D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512D11
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D11#FFFFFF#000000##FFFFFF
##512D111.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310E
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#592527
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512d11;
/* rgb */ color: rgb(81, 45, 17);
/* oklch */ color: oklch(33.7% 0.067 55.6);
Tailwind
colors: {
  custom: {
    50: '#866650',
    500: '#512d11',
    950: '#000000',
  },
}
SCSS
$custom: #512d11;
$custom-light: #866650;
$custom-dark: #000000;
JSON
{
  "hex": "#512d11",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 17
  },
  "hsl": {
    "h": 26.25,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.33737,
    "c": 0.0666,
    "h": 55.6
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#512D11
secondary
#34648A
accent
#9EE840
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512D11

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

Preview Lab → · Contrast checker → · Palette generator →

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