#512F14#512F14

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

Color values

HEX#512F14
RGBrgb(81, 47, 20)
HSLhsl(27, 60%, 20%)
HSVhsv(27, 75%, 32%)
CMYKcmyk(0%, 42%, 75.3%, 68.2%)
CIE-LABlab(23.11, 12.78, 23.39)
CIE-LCHlch(23.11, 26.66, 61.35°)
OKLaboklab(34.19% 0.0349 0.0533)
OKLCHoklch(34.19% 0.064 56.8)
XYZxyz(4.5365, 3.8333, 1.1627)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F14 #143651
analogous
#511418 #512F14 #514D14
triadic
#512F14 #14512F #2F1451
tetradic
#512F14 #185114 #143651 #4D1451
square
#512F14 #185114 #143651 #4D1451
split-complementary
#512F14 #14514D #141851
monochromatic
#190E06 #201308 #512F14 #824B20 #B3682C

Accessibility & contrast

On white

11.89
#512F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512F14
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F14#FFFFFF#000000##FFFFFF
##512F141.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512f14;
/* rgb */ color: rgb(81, 47, 20);
/* oklch */ color: oklch(34.2% 0.064 56.8);
Tailwind
colors: {
  custom: {
    50: '#856752',
    500: '#512f14',
    950: '#000000',
  },
}
SCSS
$custom: #512f14;
$custom-light: #856752;
$custom-dark: #000000;
JSON
{
  "hex": "#512f14",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 20
  },
  "hsl": {
    "h": 26.557,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.34191,
    "c": 0.06367,
    "h": 56.8
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#512F14
secondary
#386589
accent
#9DE444
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0602
muted
#7C7A78

Preview Lab

Preview with #512F14

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

Preview Lab → · Contrast checker → · Palette generator →

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