#502B18#502B18

#502B18 is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.3% C 0.063 H 46.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#502B18
RGBrgb(80, 43, 24)
HSLhsl(20, 54%, 20%)
HSVhsv(20, 70%, 31%)
CMYKcmyk(0%, 46.2%, 70%, 68.6%)
CIE-LABlab(21.94, 15.13, 19.58)
CIE-LCHlch(21.94, 24.74, 52.31°)
OKLaboklab(33.27% 0.0428 0.0458)
OKLCHoklch(33.27% 0.063 46.9)
XYZxyz(4.3373, 3.4996, 1.3110)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502B18 #183D50
analogous
#501821 #502B18 #504718
triadic
#502B18 #18502B #2B1850
tetradic
#502B18 #215018 #183D50 #471850
square
#502B18 #215018 #183D50 #471850
split-complementary
#502B18 #185047 #182150
monochromatic
#180D07 #21120A #502B18 #7F4426 #AE5E34

Accessibility & contrast

On white

12.35
#502B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#502B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502B18
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502B18#FFFFFF#000000##FFFFFF
##502B181.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353016
Deuteranopia (green-blind)
#3E3818
Tritanopia (blue-blind)
#582427
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #502b18;
/* rgb */ color: rgb(80, 43, 24);
/* oklch */ color: oklch(33.3% 0.063 46.9);
Tailwind
colors: {
  custom: {
    50: '#846455',
    500: '#502b18',
    950: '#000000',
  },
}
SCSS
$custom: #502b18;
$custom-light: #846455;
$custom-dark: #000000;
JSON
{
  "hex": "#502b18",
  "rgb": {
    "r": 80,
    "g": 43,
    "b": 24
  },
  "hsl": {
    "h": 20.357,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.33274,
    "c": 0.06266,
    "h": 46.9
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#502B18
secondary
#3D6E87
accent
#ABDD4B
background
#F8F6F4
surface
#F0EBE8
border
#CBC6C4
text
#0B0503
muted
#7C7A78

Preview Lab

Preview with #502B18

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

Preview Lab → · Contrast checker → · Palette generator →

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