#51290C#51290C

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

Color values

HEX#51290C
RGBrgb(81, 41, 12)
HSLhsl(25, 74%, 18%)
HSVhsv(25, 85%, 32%)
CMYKcmyk(0%, 49.4%, 85.2%, 68.2%)
CIE-LABlab(21.44, 16.13, 25.91)
CIE-LCHlch(21.44, 30.52, 58.09°)
OKLaboklab(32.88% 0.0435 0.0571)
OKLCHoklch(32.88% 0.072 52.7)
XYZxyz(4.2530, 3.3622, 0.7728)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51290C #0C3451
analogous
#510C11 #51290C #514B0C
triadic
#51290C #0C5129 #290C51
tetradic
#51290C #11510C #0C3451 #4B0C51
square
#51290C #11510C #0C3451 #4B0C51
split-complementary
#51290C #0C514B #0C1151
monochromatic
#1B0D04 #1C0E04 #51290C #864414 #BC5F1C

Accessibility & contrast

On white

12.56
#51290C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#51290C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51290C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51290C#FFFFFF#000000##FFFFFF
##51290C1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E08
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#592023
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51290c;
/* rgb */ color: rgb(81, 41, 12);
/* oklch */ color: oklch(32.9% 0.072 52.7);
Tailwind
colors: {
  custom: {
    50: '#86634d',
    500: '#51290c',
    950: '#000000',
  },
}
SCSS
$custom: #51290c;
$custom-light: #86634d;
$custom-dark: #000000;
JSON
{
  "hex": "#51290c",
  "rgb": {
    "r": 81,
    "g": 41,
    "b": 12
  },
  "hsl": {
    "h": 25.217,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.32875,
    "c": 0.07179,
    "h": 52.7
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#51290C
secondary
#2C648C
accent
#A3F137
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #51290C

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

Preview Lab → · Contrast checker → · Palette generator →

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