#512F11#512F11

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

Color values

HEX#512F11
RGBrgb(81, 47, 17)
HSLhsl(28, 65%, 19%)
HSVhsv(28, 79%, 32%)
CMYKcmyk(0%, 42%, 79%, 68.2%)
CIE-LABlab(23.08, 12.59, 25.07)
CIE-LCHlch(23.08, 28.06, 63.33°)
OKLaboklab(34.15% 0.0338 0.0562)
OKLCHoklch(34.15% 0.066 59)
XYZxyz(4.5114, 3.8233, 1.0306)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F11 #113351
analogous
#511113 #512F11 #514F11
triadic
#512F11 #11512F #2F1151
tetradic
#512F11 #135111 #113351 #4F1151
square
#512F11 #135111 #113351 #4F1151
split-complementary
#512F11 #11514F #111351
monochromatic
#190F05 #1E1206 #512F11 #844C1C #B66A26

Accessibility & contrast

On white

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

On black

1.76
#512F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##512F11#FFFFFF#000000##FFFFFF
##512F111.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512f11;
/* rgb */ color: rgb(81, 47, 17);
/* oklch */ color: oklch(34.2% 0.066 59.0);
Tailwind
colors: {
  custom: {
    50: '#866750',
    500: '#512f11',
    950: '#000000',
  },
}
SCSS
$custom: #512f11;
$custom-light: #866750;
$custom-dark: #000000;
JSON
{
  "hex": "#512f11",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 17
  },
  "hsl": {
    "h": 28.125,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.34154,
    "c": 0.06558,
    "h": 59
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#512F11
secondary
#34628A
accent
#99E840
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512F11

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

Preview Lab → · Contrast checker → · Palette generator →

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