#502811#502811

#502811 is a dark, moderate orange. Relative luminance 0.033; OKLCH L 32.6% C 0.069 H 48.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#502811
RGBrgb(80, 40, 17)
HSLhsl(22, 65%, 19%)
HSVhsv(22, 79%, 31%)
CMYKcmyk(0%, 50%, 78.8%, 68.6%)
CIE-LABlab(21.07, 16.54, 22.88)
CIE-LCHlch(21.07, 28.23, 54.14°)
OKLaboklab(32.57% 0.0457 0.0516)
OKLCHoklch(32.57% 0.069 48.4)
XYZxyz(4.1686, 3.2640, 0.9407)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502811 #113950
analogous
#50111A #502811 #504811
triadic
#502811 #115028 #281150
tetradic
#502811 #1A5011 #113950 #481150
square
#502811 #1A5011 #113950 #481150
split-complementary
#502811 #115048 #111A50
monochromatic
#190D05 #1E0F06 #502811 #82411C #B55A26

Accessibility & contrast

On white

12.71
#502811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#502811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502811
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502811#FFFFFF#000000##FFFFFF
##5028111.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0E
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#582023
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #502811;
/* rgb */ color: rgb(80, 40, 17);
/* oklch */ color: oklch(32.6% 0.069 48.4);
Tailwind
colors: {
  custom: {
    50: '#856250',
    500: '#502811',
    950: '#000000',
  },
}
SCSS
$custom: #502811;
$custom-light: #856250;
$custom-dark: #000000;
JSON
{
  "hex": "#502811",
  "rgb": {
    "r": 80,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 21.905,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.32575,
    "c": 0.06892,
    "h": 48.4
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#502811
secondary
#336A89
accent
#ABE840
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #502811

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

Preview Lab → · Contrast checker → · Palette generator →

#502811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva