#502C12#502C12

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

Color values

HEX#502C12
RGBrgb(80, 44, 18)
HSLhsl(25, 63%, 19%)
HSVhsv(25, 78%, 31%)
CMYKcmyk(0%, 45%, 77.5%, 68.6%)
CIE-LABlab(22.13, 14.07, 23.44)
CIE-LCHlch(22.13, 27.34, 59.02°)
OKLaboklab(33.39% 0.0385 0.053)
OKLCHoklch(33.39% 0.065 54)
XYZxyz(4.3185, 3.5510, 1.0301)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502C12 #123650
analogous
#501217 #502C12 #504B12
triadic
#502C12 #12502C #2C1250
tetradic
#502C12 #175012 #123650 #4B1250
square
#502C12 #175012 #123650 #4B1250
split-complementary
#502C12 #12504B #121750
monochromatic
#190E06 #1E1107 #502C12 #82471D #B46328

Accessibility & contrast

On white

12.28
#502C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#502C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502C12
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502C12#FFFFFF#000000##FFFFFF
##502C121.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300F
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#582426
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #502c12;
/* rgb */ color: rgb(80, 44, 18);
/* oklch */ color: oklch(33.4% 0.065 54.0);
Tailwind
colors: {
  custom: {
    50: '#856551',
    500: '#502c12',
    950: '#000000',
  },
}
SCSS
$custom: #502c12;
$custom-light: #856551;
$custom-dark: #000000;
JSON
{
  "hex": "#502c12",
  "rgb": {
    "r": 80,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 25.161,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.33391,
    "c": 0.06549,
    "h": 54
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#502C12
secondary
#356689
accent
#A1E641
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0502
muted
#7C7A78

Preview Lab

Preview with #502C12

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

Preview Lab → · Contrast checker → · Palette generator →

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