#512E14#512E14

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

Color values

HEX#512E14
RGBrgb(81, 46, 20)
HSLhsl(26, 60%, 20%)
HSVhsv(26, 75%, 32%)
CMYKcmyk(0%, 43.2%, 75.3%, 68.2%)
CIE-LABlab(22.84, 13.42, 23.09)
CIE-LCHlch(22.84, 26.71, 59.84°)
OKLaboklab(33.98% 0.0368 0.0526)
OKLCHoklch(33.98% 0.064 55)
XYZxyz(4.4970, 3.7543, 1.1495)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512E14 #143751
analogous
#511418 #512E14 #514D14
triadic
#512E14 #14512E #2E1451
tetradic
#512E14 #185114 #143751 #4D1451
square
#512E14 #185114 #143751 #4D1451
split-complementary
#512E14 #14514D #141851
monochromatic
#190E06 #201208 #512E14 #824A20 #B3662C

Accessibility & contrast

On white

11.99
#512E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#512E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512E14
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512E14#FFFFFF#000000##FFFFFF
##512E141.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383211
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#592728
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512e14;
/* rgb */ color: rgb(81, 46, 20);
/* oklch */ color: oklch(34.0% 0.064 55.0);
Tailwind
colors: {
  custom: {
    50: '#856752',
    500: '#512e14',
    950: '#000000',
  },
}
SCSS
$custom: #512e14;
$custom-light: #856752;
$custom-dark: #000000;
JSON
{
  "hex": "#512e14",
  "rgb": {
    "r": 81,
    "g": 46,
    "b": 20
  },
  "hsl": {
    "h": 25.574,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33982,
    "c": 0.06422,
    "h": 55
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#512E14
secondary
#386689
accent
#A0E444
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512E14

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

Preview Lab → · Contrast checker → · Palette generator →

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