#512F16#512F16

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

Color values

HEX#512F16
RGBrgb(81, 47, 22)
HSLhsl(25, 57%, 20%)
HSVhsv(25, 73%, 32%)
CMYKcmyk(0%, 42%, 72.8%, 68.2%)
CIE-LABlab(23.14, 12.92, 22.24)
CIE-LCHlch(23.14, 25.72, 59.85°)
OKLaboklab(34.22% 0.0357 0.0512)
OKLCHoklch(34.22% 0.062 55.1)
XYZxyz(4.5550, 3.8407, 1.2603)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F16 #163851
analogous
#51161A #512F16 #514D16
triadic
#512F16 #16512F #2F1651
tetradic
#512F16 #1A5116 #163851 #4D1651
square
#512F16 #1A5116 #163851 #4D1651
split-complementary
#512F16 #16514D #161A51
monochromatic
#180E07 #211309 #512F16 #814B23 #B16730

Accessibility & contrast

On white

11.88
#512F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512F16
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F16#FFFFFF#000000##FFFFFF
##512F161.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393314
Deuteranopia (green-blind)
#413A16
Tritanopia (blue-blind)
#592829
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f16;
/* rgb */ color: rgb(81, 47, 22);
/* oklch */ color: oklch(34.2% 0.062 55.1);
Tailwind
colors: {
  custom: {
    50: '#856754',
    500: '#512f16',
    950: '#000000',
  },
}
SCSS
$custom: #512f16;
$custom-light: #856754;
$custom-dark: #000000;
JSON
{
  "hex": "#512f16",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 22
  },
  "hsl": {
    "h": 25.424,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34219,
    "c": 0.06236,
    "h": 55.1
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#512F16
secondary
#3A6788
accent
#A0E147
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0602
muted
#7C7A78

Preview Lab

Preview with #512F16

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

Preview Lab → · Contrast checker → · Palette generator →

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