#51280F#51280F

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

Color values

HEX#51280F
RGBrgb(81, 40, 15)
HSLhsl(23, 69%, 19%)
HSVhsv(23, 81%, 32%)
CMYKcmyk(0%, 50.6%, 81.5%, 68.2%)
CIE-LABlab(21.21, 16.90, 24.19)
CIE-LCHlch(21.21, 29.51, 55.06°)
OKLaboklab(32.71% 0.0464 0.0539)
OKLCHoklch(32.71% 0.071 49.3)
XYZxyz(4.2387, 3.3019, 0.8660)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51280F #0F3851
analogous
#510F17 #51280F #51490F
triadic
#51280F #0F5128 #280F51
tetradic
#51280F #17510F #0F3851 #490F51
square
#51280F #17510F #0F3851 #490F51
split-complementary
#51280F #0F5149 #0F1751
monochromatic
#1A0D05 #1D0F05 #51280F #854219 #B85B22

Accessibility & contrast

On white

12.65
#51280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51280F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51280F#FFFFFF#000000##FFFFFF
##51280F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0C
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#591F23
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51280f;
/* rgb */ color: rgb(81, 40, 15);
/* oklch */ color: oklch(32.7% 0.071 49.3);
Tailwind
colors: {
  custom: {
    50: '#86624f',
    500: '#51280f',
    950: '#000000',
  },
}
SCSS
$custom: #51280f;
$custom-light: #86624f;
$custom-dark: #000000;
JSON
{
  "hex": "#51280f",
  "rgb": {
    "r": 81,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 22.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.07112,
    "h": 49.3
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#51280F
secondary
#31698B
accent
#A9EC3C
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #51280F

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

Preview Lab → · Contrast checker → · Palette generator →

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