#512A11#512A11

#512A11 is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.1% C 0.069 H 50.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#512A11
RGBrgb(81, 42, 17)
HSLhsl(23, 65%, 19%)
HSVhsv(23, 79%, 32%)
CMYKcmyk(0%, 48.1%, 79%, 68.2%)
CIE-LABlab(21.75, 15.77, 23.66)
CIE-LCHlch(21.75, 28.43, 56.32°)
OKLaboklab(33.13% 0.0433 0.0532)
OKLCHoklch(33.13% 0.069 50.9)
XYZxyz(4.3229, 3.4462, 0.9677)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512A11 #113851
analogous
#511118 #512A11 #514A11
triadic
#512A11 #11512A #2A1151
tetradic
#512A11 #185111 #113851 #4A1151
square
#512A11 #185111 #113851 #4A1151
split-complementary
#512A11 #11514A #111851
monochromatic
#190D05 #1E1006 #512A11 #84441C #B65E26

Accessibility & contrast

On white

12.43
#512A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512A11
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512A11#FFFFFF#000000##FFFFFF
##512A111.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512a11;
/* rgb */ color: rgb(81, 42, 17);
/* oklch */ color: oklch(33.1% 0.069 50.9);
Tailwind
colors: {
  custom: {
    50: '#866450',
    500: '#512a11',
    950: '#000000',
  },
}
SCSS
$custom: #512a11;
$custom-light: #866450;
$custom-dark: #000000;
JSON
{
  "hex": "#512a11",
  "rgb": {
    "r": 81,
    "g": 42,
    "b": 17
  },
  "hsl": {
    "h": 23.438,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.33129,
    "c": 0.06857,
    "h": 50.9
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#512A11
secondary
#34688A
accent
#A6E840
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512A11

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

Preview Lab → · Contrast checker → · Palette generator →

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