#512F17#512F17

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

Color values

HEX#512F17
RGBrgb(81, 47, 23)
HSLhsl(25, 56%, 20%)
HSVhsv(25, 72%, 32%)
CMYKcmyk(0%, 42%, 71.6%, 68.2%)
CIE-LABlab(23.15, 12.99, 21.65)
CIE-LCHlch(23.15, 25.25, 59.03°)
OKLaboklab(34.23% 0.0361 0.0501)
OKLCHoklch(34.23% 0.062 54.2)
XYZxyz(4.5649, 3.8447, 1.3121)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F17 #173951
analogous
#51171C #512F17 #514C17
triadic
#512F17 #17512F #2F1751
tetradic
#512F17 #1C5117 #173951 #4C1751
square
#512F17 #1C5117 #173951 #4C1751
split-complementary
#512F17 #17514C #171C51
monochromatic
#180E07 #211309 #512F17 #814B25 #B06632

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##512F17#FFFFFF#000000##FFFFFF
##512F171.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)
#393315
Deuteranopia (green-blind)
#413A17
Tritanopia (blue-blind)
#592829
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f17;
/* rgb */ color: rgb(81, 47, 23);
/* oklch */ color: oklch(34.2% 0.062 54.2);
Tailwind
colors: {
  custom: {
    50: '#856755',
    500: '#512f17',
    950: '#000000',
  },
}
SCSS
$custom: #512f17;
$custom-light: #856755;
$custom-dark: #000000;
JSON
{
  "hex": "#512f17",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 24.828,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34233,
    "c": 0.0617,
    "h": 54.2
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#512F17
secondary
#3C6888
accent
#A1DF49
background
#F8F6F4
surface
#F0EBE8
border
#CBC6C4
text
#0B0603
muted
#7C7A78

Preview Lab

Preview with #512F17

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

Preview Lab → · Contrast checker → · Palette generator →

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