#512412#512412

#512412 is a dark, moderate orange. Relative luminance 0.031; OKLCH L 32.0% C 0.073 H 41.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#512412
RGBrgb(81, 36, 18)
HSLhsl(17, 64%, 19%)
HSVhsv(17, 78%, 32%)
CMYKcmyk(0%, 55.6%, 77.8%, 68.2%)
CIE-LABlab(20.26, 19.53, 21.43)
CIE-LCHlch(20.26, 28.99, 47.67°)
OKLaboklab(32% 0.0549 0.0486)
OKLCHoklch(32% 0.073 41.5)
XYZxyz(4.1338, 3.0553, 0.9442)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512412 #123F51
analogous
#511220 #512412 #514412
triadic
#512412 #125124 #241251
tetradic
#512412 #205112 #123F51 #441251
square
#512412 #205112 #123F51 #441251
split-complementary
#512412 #125144 #122051
monochromatic
#190B06 #1F0E07 #512412 #833A1D #B55128

Accessibility & contrast

On white

13.04
#512412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#512412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512412
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512412#FFFFFF#000000##FFFFFF
##5124121.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B10
Deuteranopia (green-blind)
#3B3511
Tritanopia (blue-blind)
#591B20
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #512412;
/* rgb */ color: rgb(81, 36, 18);
/* oklch */ color: oklch(32.0% 0.073 41.5);
Tailwind
colors: {
  custom: {
    50: '#866050',
    500: '#512412',
    950: '#000000',
  },
}
SCSS
$custom: #512412;
$custom-light: #866050;
$custom-dark: #000000;
JSON
{
  "hex": "#512412",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 18
  },
  "hsl": {
    "h": 17.143,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31995,
    "c": 0.07335,
    "h": 41.5
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#512412
secondary
#35728A
accent
#B7E741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512412

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

Preview Lab → · Contrast checker → · Palette generator →

#512412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva