#502E17#502E17

#502E17 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.9% C 0.061 H 53.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#502E17
RGBrgb(80, 46, 23)
HSLhsl(24, 55%, 20%)
HSVhsv(24, 71%, 31%)
CMYKcmyk(0%, 42.5%, 71.2%, 68.6%)
CIE-LABlab(22.73, 13.14, 21.12)
CIE-LCHlch(22.73, 24.88, 58.12°)
OKLaboklab(33.88% 0.0366 0.049)
OKLCHoklch(33.88% 0.061 53.2)
XYZxyz(4.4402, 3.7218, 1.2950)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502E17 #173950
analogous
#50171C #502E17 #504B17
triadic
#502E17 #17502E #2E1750
tetradic
#502E17 #1C5017 #173950 #4B1750
square
#502E17 #1C5017 #173950 #4B1750
split-complementary
#502E17 #17504B #171C50
monochromatic
#180E07 #201309 #502E17 #804925 #AF6532

Accessibility & contrast

On white

12.04
#502E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#502E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502E17
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502E17#FFFFFF#000000##FFFFFF
##502E171.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383215
Deuteranopia (green-blind)
#403917
Tritanopia (blue-blind)
#582729
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #502e17;
/* rgb */ color: rgb(80, 46, 23);
/* oklch */ color: oklch(33.9% 0.061 53.2);
Tailwind
colors: {
  custom: {
    50: '#846755',
    500: '#502e17',
    950: '#000000',
  },
}
SCSS
$custom: #502e17;
$custom-light: #846755;
$custom-dark: #000000;
JSON
{
  "hex": "#502e17",
  "rgb": {
    "r": 80,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 24.211,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.33876,
    "c": 0.06113,
    "h": 53.2
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#502E17
secondary
#3C6987
accent
#A2DF49
background
#F8F6F4
surface
#EFEBE7
border
#CAC6C3
text
#0B0603
muted
#7C7A78

Preview Lab

Preview with #502E17

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

Preview Lab → · Contrast checker → · Palette generator →

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