#512A14#512A14

#512A14 is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.2% C 0.067 H 48.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#512A14
RGBrgb(81, 42, 20)
HSLhsl(22, 60%, 20%)
HSVhsv(22, 75%, 32%)
CMYKcmyk(0%, 48.1%, 75.3%, 68.2%)
CIE-LABlab(21.79, 15.95, 21.91)
CIE-LCHlch(21.79, 27.11, 53.95°)
OKLaboklab(33.17% 0.0444 0.0501)
OKLCHoklch(33.17% 0.067 48.4)
XYZxyz(4.3479, 3.4562, 1.0998)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512A14 #143B51
analogous
#51141D #512A14 #514814
triadic
#512A14 #14512A #2A1451
tetradic
#512A14 #1D5114 #143B51 #481451
square
#512A14 #1D5114 #143B51 #481451
split-complementary
#512A14 #145148 #141D51
monochromatic
#190D06 #201108 #512A14 #824320 #B35D2C

Accessibility & contrast

On white

12.42
#512A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#512A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512A14
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512A14#FFFFFF#000000##FFFFFF
##512A141.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F12
Deuteranopia (green-blind)
#3E3814
Tritanopia (blue-blind)
#592225
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #512a14;
/* rgb */ color: rgb(81, 42, 20);
/* oklch */ color: oklch(33.2% 0.067 48.4);
Tailwind
colors: {
  custom: {
    50: '#866452',
    500: '#512a14',
    950: '#000000',
  },
}
SCSS
$custom: #512a14;
$custom-light: #866452;
$custom-dark: #000000;
JSON
{
  "hex": "#512a14",
  "rgb": {
    "r": 81,
    "g": 42,
    "b": 20
  },
  "hsl": {
    "h": 21.639,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33168,
    "c": 0.06696,
    "h": 48.4
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#512A14
secondary
#386C89
accent
#AAE444
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512A14

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

Preview Lab → · Contrast checker → · Palette generator →

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