#502D12#502D12

#502D12 is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.6% C 0.065 H 55.7°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#502D12
RGBrgb(80, 45, 18)
HSLhsl(26, 63%, 19%)
HSVhsv(26, 78%, 31%)
CMYKcmyk(0%, 43.7%, 77.5%, 68.6%)
CIE-LABlab(22.40, 13.44, 23.73)
CIE-LCHlch(22.40, 27.27, 60.48°)
OKLaboklab(33.6% 0.0366 0.0536)
OKLCHoklch(33.6% 0.065 55.7)
XYZxyz(4.3562, 3.6264, 1.0427)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502D12 #123550
analogous
#501216 #502D12 #504C12
triadic
#502D12 #12502D #2D1250
tetradic
#502D12 #165012 #123550 #4C1250
square
#502D12 #165012 #123550 #4C1250
split-complementary
#502D12 #12504C #121650
monochromatic
#190E06 #1E1107 #502D12 #82491D #B46528

Accessibility & contrast

On white

12.17
#502D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#502D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502D12
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502D12#FFFFFF#000000##FFFFFF
##502D121.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37310F
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#582627
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #502d12;
/* rgb */ color: rgb(80, 45, 18);
/* oklch */ color: oklch(33.6% 0.065 55.7);
Tailwind
colors: {
  custom: {
    50: '#856651',
    500: '#502d12',
    950: '#000000',
  },
}
SCSS
$custom: #502d12;
$custom-light: #856651;
$custom-dark: #000000;
JSON
{
  "hex": "#502d12",
  "rgb": {
    "r": 80,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 26.129,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.33597,
    "c": 0.0649,
    "h": 55.7
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#502D12
secondary
#356489
accent
#9FE641
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0602
muted
#7C7A78

Preview Lab

Preview with #502D12

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

Preview Lab → · Contrast checker → · Palette generator →

#502D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva