#502F12#502F12

#502F12 is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.0% C 0.064 H 59.2°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#502F12
RGBrgb(80, 47, 18)
HSLhsl(28, 63%, 19%)
HSVhsv(28, 78%, 31%)
CMYKcmyk(0%, 41.3%, 77.5%, 68.6%)
CIE-LABlab(22.94, 12.16, 24.32)
CIE-LCHlch(22.94, 27.18, 63.44°)
OKLaboklab(34.02% 0.0327 0.0549)
OKLCHoklch(34.02% 0.064 59.2)
XYZxyz(4.4343, 3.7826, 1.0687)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502F12 #123350
analogous
#501214 #502F12 #504E12
triadic
#502F12 #12502F #2F1250
tetradic
#502F12 #145012 #123350 #4E1250
square
#502F12 #145012 #123350 #4E1250
split-complementary
#502F12 #12504E #121450
monochromatic
#190F06 #1E1207 #502F12 #824C1D #B46A28

Accessibility & contrast

On white

11.96
#502F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #502F12
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502F12#FFFFFF#000000##FFFFFF
##502F121.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320F
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#582829
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #502f12;
/* rgb */ color: rgb(80, 47, 18);
/* oklch */ color: oklch(34.0% 0.064 59.2);
Tailwind
colors: {
  custom: {
    50: '#856751',
    500: '#502f12',
    950: '#000000',
  },
}
SCSS
$custom: #502f12;
$custom-light: #856751;
$custom-dark: #000000;
JSON
{
  "hex": "#502f12",
  "rgb": {
    "r": 80,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 28.065,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.34018,
    "c": 0.0639,
    "h": 59.2
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#502F12
secondary
#356289
accent
#99E641
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0602
muted
#7C7A78

Preview Lab

Preview with #502F12

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

Preview Lab → · Contrast checker → · Palette generator →

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