#51402F#51402F

#51402F is a dark, muted orange. Relative luminance 0.056; OKLCH L 38.5% C 0.036 H 66.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#51402F
RGBrgb(81, 64, 47)
HSLhsl(30, 27%, 25%)
HSVhsv(30, 42%, 32%)
CMYKcmyk(0%, 21%, 42%, 68.2%)
CIE-LABlab(28.44, 4.63, 13.20)
CIE-LCHlch(28.44, 13.99, 70.67°)
OKLaboklab(38.48% 0.0144 0.033)
OKLCHoklch(38.48% 0.036 66.4)
XYZxyz(5.7400, 5.6216, 3.4715)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51402F #2F4051
analogous
#512F2F #51402F #51512F
triadic
#51402F #2F5140 #402F51
tetradic
#51402F #2F512F #2F4051 #512F51
square
#51402F #2F512F #2F4051 #512F51
split-complementary
#51402F #2F5151 #2F2F51
monochromatic
#130F0B #2A2119 #51402F #785F45 #9E7D5C

Accessibility & contrast

On white

9.89
#51402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#51402F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51402F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51402F#FFFFFF#000000##FFFFFF
##51402F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412E
Deuteranopia (green-blind)
#4A452F
Tritanopia (blue-blind)
#573C3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #51402f;
/* rgb */ color: rgb(81, 64, 47);
/* oklch */ color: oklch(38.5% 0.036 66.4);
Tailwind
colors: {
  custom: {
    50: '#837467',
    500: '#51402f',
    950: '#000000',
  },
}
SCSS
$custom: #51402f;
$custom-light: #837467;
$custom-dark: #000000;
JSON
{
  "hex": "#51402f",
  "rgb": {
    "r": 81,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 30,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38482,
    "c": 0.03602,
    "h": 66.4
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#51402F
secondary
#596E82
accent
#94C365
background
#F8F7F6
surface
#EFEDEB
border
#CAC8C6
text
#0A0806
muted
#7C7B7A

Preview Lab

Preview with #51402F

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

Preview Lab → · Contrast checker → · Palette generator →

#51402F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva