#512F12#512F12

#512F12 is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.2% C 0.065 H 58.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#512F12
RGBrgb(81, 47, 18)
HSLhsl(28, 64%, 19%)
HSVhsv(28, 78%, 32%)
CMYKcmyk(0%, 42%, 77.8%, 68.2%)
CIE-LABlab(23.09, 12.65, 24.52)
CIE-LCHlch(23.09, 27.59, 62.71°)
OKLaboklab(34.17% 0.0341 0.0553)
OKLCHoklch(34.17% 0.065 58.3)
XYZxyz(4.5194, 3.8265, 1.0727)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F12 #123451
analogous
#511215 #512F12 #514F12
triadic
#512F12 #12512F #2F1251
tetradic
#512F12 #155112 #123451 #4F1251
square
#512F12 #155112 #123451 #4F1251
split-complementary
#512F12 #12514F #121551
monochromatic
#190F06 #1F1207 #512F12 #834C1D #B56928

Accessibility & contrast

On white

11.90
#512F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#512F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512F12
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F12#FFFFFF#000000##FFFFFF
##512F121.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320F
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#592829
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f12;
/* rgb */ color: rgb(81, 47, 18);
/* oklch */ color: oklch(34.2% 0.065 58.3);
Tailwind
colors: {
  custom: {
    50: '#866751',
    500: '#512f12',
    950: '#000000',
  },
}
SCSS
$custom: #512f12;
$custom-light: #866751;
$custom-dark: #000000;
JSON
{
  "hex": "#512f12",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 27.619,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.34166,
    "c": 0.06496,
    "h": 58.3
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#512F12
secondary
#35638A
accent
#9AE741
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512F12

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

Preview Lab → · Contrast checker → · Palette generator →

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