#502E12#502E12

#502E12 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.8% C 0.064 H 57.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#502E12
RGBrgb(80, 46, 18)
HSLhsl(27, 63%, 19%)
HSVhsv(27, 78%, 31%)
CMYKcmyk(0%, 42.5%, 77.5%, 68.6%)
CIE-LABlab(22.67, 12.80, 24.02)
CIE-LCHlch(22.67, 27.22, 61.95°)
OKLaboklab(33.81% 0.0347 0.0542)
OKLCHoklch(33.81% 0.064 57.4)
XYZxyz(4.3948, 3.7036, 1.0556)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502E12 #123450
analogous
#501215 #502E12 #504D12
triadic
#502E12 #12502E #2E1250
tetradic
#502E12 #155012 #123450 #4D1250
square
#502E12 #155012 #123450 #4D1250
split-complementary
#502E12 #12504D #121550
monochromatic
#190E06 #1E1107 #502E12 #824B1D #B46728

Accessibility & contrast

On white

12.06
#502E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #502E12
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502E12#FFFFFF#000000##FFFFFF
##502E121.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310F
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#582728
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #502e12;
/* rgb */ color: rgb(80, 46, 18);
/* oklch */ color: oklch(33.8% 0.064 57.4);
Tailwind
colors: {
  custom: {
    50: '#856751',
    500: '#502e12',
    950: '#000000',
  },
}
SCSS
$custom: #502e12;
$custom-light: #856751;
$custom-dark: #000000;
JSON
{
  "hex": "#502e12",
  "rgb": {
    "r": 80,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 27.097,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.33806,
    "c": 0.06437,
    "h": 57.4
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#502E12
secondary
#356389
accent
#9CE641
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0602
muted
#7C7A78

Preview Lab

Preview with #502E12

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

Preview Lab → · Contrast checker → · Palette generator →

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