#502C17#502C17

#502C17 is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.5% C 0.062 H 49.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#502C17
RGBrgb(80, 44, 23)
HSLhsl(22, 55%, 20%)
HSVhsv(22, 71%, 31%)
CMYKcmyk(0%, 45%, 71.2%, 68.6%)
CIE-LABlab(22.19, 14.42, 20.50)
CIE-LCHlch(22.19, 25.06, 54.88°)
OKLaboklab(33.46% 0.0405 0.0476)
OKLCHoklch(33.46% 0.062 49.6)
XYZxyz(4.3639, 3.5691, 1.2695)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502C17 #173B50
analogous
#50171F #502C17 #504817
triadic
#502C17 #17502C #2C1750
tetradic
#502C17 #1F5017 #173B50 #481750
square
#502C17 #1F5017 #173B50 #481750
split-complementary
#502C17 #175048 #171F50
monochromatic
#180D07 #201209 #502C17 #804625 #AF6032

Accessibility & contrast

On white

12.25
#502C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #502C17
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502C17#FFFFFF#000000##FFFFFF
##502C171.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363015
Deuteranopia (green-blind)
#3F3817
Tritanopia (blue-blind)
#582527
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #502c17;
/* rgb */ color: rgb(80, 44, 23);
/* oklch */ color: oklch(33.5% 0.062 49.6);
Tailwind
colors: {
  custom: {
    50: '#846554',
    500: '#502c17',
    950: '#000000',
  },
}
SCSS
$custom: #502c17;
$custom-light: #846554;
$custom-dark: #000000;
JSON
{
  "hex": "#502c17",
  "rgb": {
    "r": 80,
    "g": 44,
    "b": 23
  },
  "hsl": {
    "h": 22.105,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.33462,
    "c": 0.06249,
    "h": 49.6
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#502C17
secondary
#3C6B87
accent
#A8DF49
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0503
muted
#7C7A78

Preview Lab

Preview with #502C17

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

Preview Lab → · Contrast checker → · Palette generator →

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