#51290F#51290F

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

Color values

HEX#51290F
RGBrgb(81, 41, 15)
HSLhsl(24, 69%, 19%)
HSVhsv(24, 81%, 32%)
CMYKcmyk(0%, 49.4%, 81.5%, 68.2%)
CIE-LABlab(21.47, 16.28, 24.47)
CIE-LCHlch(21.47, 29.39, 56.36°)
OKLaboklab(32.91% 0.0445 0.0545)
OKLCHoklch(32.91% 0.07 50.8)
XYZxyz(4.2729, 3.3702, 0.8773)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51290F #0F3751
analogous
#510F16 #51290F #514A0F
triadic
#51290F #0F5129 #290F51
tetradic
#51290F #16510F #0F3751 #4A0F51
square
#51290F #16510F #0F3751 #4A0F51
split-complementary
#51290F #0F514A #0F1651
monochromatic
#1A0D05 #1D0F05 #51290F #854319 #B85D22

Accessibility & contrast

On white

12.54
#51290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51290F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51290F#FFFFFF#000000##FFFFFF
##51290F1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0C
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#592123
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51290f;
/* rgb */ color: rgb(81, 41, 15);
/* oklch */ color: oklch(32.9% 0.070 50.8);
Tailwind
colors: {
  custom: {
    50: '#86634f',
    500: '#51290f',
    950: '#000000',
  },
}
SCSS
$custom: #51290f;
$custom-light: #86634f;
$custom-dark: #000000;
JSON
{
  "hex": "#51290f",
  "rgb": {
    "r": 81,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 23.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32907,
    "c": 0.07034,
    "h": 50.8
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#51290F
secondary
#31678B
accent
#A7EC3C
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #51290F

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

Preview Lab → · Contrast checker → · Palette generator →

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