#502F17#502F17

#502F17 is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.1% C 0.061 H 55.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#502F17
RGBrgb(80, 47, 23)
HSLhsl(25, 55%, 20%)
HSVhsv(25, 71%, 31%)
CMYKcmyk(0%, 41.3%, 71.2%, 68.6%)
CIE-LABlab(23.00, 12.50, 21.44)
CIE-LCHlch(23.00, 24.82, 59.75°)
OKLaboklab(34.09% 0.0347 0.0497)
OKLCHoklch(34.09% 0.061 55.1)
XYZxyz(4.4798, 3.8008, 1.3081)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502F17 #173850
analogous
#50171B #502F17 #504B17
triadic
#502F17 #17502F #2F1750
tetradic
#502F17 #1B5017 #173850 #4B1750
square
#502F17 #1B5017 #173850 #4B1750
split-complementary
#502F17 #17504B #171B50
monochromatic
#180E07 #201309 #502F17 #804B25 #AF6732

Accessibility & contrast

On white

11.93
#502F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#502F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502F17
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502F17#FFFFFF#000000##FFFFFF
##502F171.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393215
Deuteranopia (green-blind)
#403A17
Tritanopia (blue-blind)
#582829
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #502f17;
/* rgb */ color: rgb(80, 47, 23);
/* oklch */ color: oklch(34.1% 0.061 55.1);
Tailwind
colors: {
  custom: {
    50: '#846755',
    500: '#502f17',
    950: '#000000',
  },
}
SCSS
$custom: #502f17;
$custom-light: #846755;
$custom-dark: #000000;
JSON
{
  "hex": "#502f17",
  "rgb": {
    "r": 80,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 25.263,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34086,
    "c": 0.06057,
    "h": 55.1
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#502F17
secondary
#3C6787
accent
#A0DF49
background
#F8F6F4
surface
#EFEBE8
border
#CAC6C4
text
#0B0603
muted
#7C7A78

Preview Lab

Preview with #502F17

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

Preview Lab → · Contrast checker → · Palette generator →

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