#512912#512912

#512912 is a dark, moderate orange. Relative luminance 0.034; OKLCH L 32.9% C 0.069 H 48.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#512912
RGBrgb(81, 41, 18)
HSLhsl(22, 64%, 19%)
HSVhsv(22, 78%, 32%)
CMYKcmyk(0%, 49.4%, 77.8%, 68.2%)
CIE-LABlab(21.50, 16.45, 22.80)
CIE-LCHlch(21.50, 28.12, 54.19°)
OKLaboklab(32.94% 0.0456 0.0516)
OKLCHoklch(32.94% 0.069 48.5)
XYZxyz(4.2958, 3.3794, 0.9982)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512912 #123A51
analogous
#51121B #512912 #514912
triadic
#512912 #125129 #291251
tetradic
#512912 #1B5112 #123A51 #491251
square
#512912 #1B5112 #123A51 #491251
split-complementary
#512912 #125149 #121B51
monochromatic
#190D06 #1F1007 #512912 #83421D #B55C28

Accessibility & contrast

On white

12.53
#512912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#512912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512912
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512912#FFFFFF#000000##FFFFFF
##5129121.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E10
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#592124
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #512912;
/* rgb */ color: rgb(81, 41, 18);
/* oklch */ color: oklch(32.9% 0.069 48.5);
Tailwind
colors: {
  custom: {
    50: '#866351',
    500: '#512912',
    950: '#000000',
  },
}
SCSS
$custom: #512912;
$custom-light: #866351;
$custom-dark: #000000;
JSON
{
  "hex": "#512912",
  "rgb": {
    "r": 81,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 21.905,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.32944,
    "c": 0.06882,
    "h": 48.5
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#512912
secondary
#356B8A
accent
#AAE741
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512912

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

Preview Lab → · Contrast checker → · Palette generator →

#512912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva