#51280C#51280C

#51280C is a dark, moderate orange. Relative luminance 0.033; OKLCH L 32.7% C 0.073 H 51.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#51280C
RGBrgb(81, 40, 12)
HSLhsl(24, 74%, 18%)
HSVhsv(24, 85%, 32%)
CMYKcmyk(0%, 50.6%, 85.2%, 68.2%)
CIE-LABlab(21.18, 16.76, 25.63)
CIE-LCHlch(21.18, 30.63, 56.83°)
OKLaboklab(32.68% 0.0454 0.0566)
OKLCHoklch(32.68% 0.073 51.3)
XYZxyz(4.2189, 3.2939, 0.7614)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51280C #0C3551
analogous
#510C12 #51280C #514A0C
triadic
#51280C #0C5128 #280C51
tetradic
#51280C #12510C #0C3551 #4A0C51
square
#51280C #12510C #0C3551 #4A0C51
split-complementary
#51280C #0C514A #0C1251
monochromatic
#1B0D04 #1C0E04 #51280C #864214 #BC5D1C

Accessibility & contrast

On white

12.66
#51280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#51280C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51280C
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51280C#FFFFFF#000000##FFFFFF
##51280C1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D08
Deuteranopia (green-blind)
#3E360B
Tritanopia (blue-blind)
#591F22
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51280c;
/* rgb */ color: rgb(81, 40, 12);
/* oklch */ color: oklch(32.7% 0.073 51.3);
Tailwind
colors: {
  custom: {
    50: '#86624d',
    500: '#51280c',
    950: '#000000',
  },
}
SCSS
$custom: #51280c;
$custom-light: #86624d;
$custom-dark: #000000;
JSON
{
  "hex": "#51280c",
  "rgb": {
    "r": 81,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 24.348,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.32679,
    "c": 0.07251,
    "h": 51.3
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#51280C
secondary
#2C658C
accent
#A5F137
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #51280C

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

Preview Lab → · Contrast checker → · Palette generator →

#51280C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva