#512F18#512F18

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

Color values

HEX#512F18
RGBrgb(81, 47, 24)
HSLhsl(24, 54%, 21%)
HSVhsv(24, 70%, 32%)
CMYKcmyk(0%, 42%, 70.4%, 68.2%)
CIE-LABlab(23.16, 13.07, 21.05)
CIE-LCHlch(23.16, 24.78, 58.17°)
OKLaboklab(34.25% 0.0365 0.0489)
OKLCHoklch(34.25% 0.061 53.3)
XYZxyz(4.5751, 3.8487, 1.3659)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F18 #183A51
analogous
#51181D #512F18 #514B18
triadic
#512F18 #18512F #2F1851
tetradic
#512F18 #1D5118 #183A51 #4B1851
square
#512F18 #1D5118 #183A51 #4B1851
split-complementary
#512F18 #18514B #181D51
monochromatic
#180E07 #22140A #512F18 #804A26 #AF6634

Accessibility & contrast

On white

11.87
#512F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512F18
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F18#FFFFFF#000000##FFFFFF
##512F181.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393316
Deuteranopia (green-blind)
#413A18
Tritanopia (blue-blind)
#59282A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f18;
/* rgb */ color: rgb(81, 47, 24);
/* oklch */ color: oklch(34.2% 0.061 53.3);
Tailwind
colors: {
  custom: {
    50: '#856755',
    500: '#512f18',
    950: '#000000',
  },
}
SCSS
$custom: #512f18;
$custom-light: #856755;
$custom-dark: #000000;
JSON
{
  "hex": "#512f18",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 24.211,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34248,
    "c": 0.06104,
    "h": 53.3
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#512F18
secondary
#3D6A88
accent
#A2DE4A
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0B0603
muted
#7C7A78

Preview Lab

Preview with #512F18

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

Preview Lab → · Contrast checker → · Palette generator →

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