#522D12#522D12

#522D12 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.9% C 0.067 H 54.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#522D12
RGBrgb(82, 45, 18)
HSLhsl(25, 64%, 20%)
HSVhsv(25, 78%, 32%)
CMYKcmyk(0%, 45.1%, 78%, 67.8%)
CIE-LABlab(22.71, 14.42, 24.15)
CIE-LCHlch(22.71, 28.13, 59.17°)
OKLaboklab(33.9% 0.0393 0.0544)
OKLCHoklch(33.9% 0.067 54.1)
XYZxyz(4.5276, 3.7148, 1.0507)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522D12 #123752
analogous
#521217 #522D12 #524D12
triadic
#522D12 #12522D #2D1252
tetradic
#522D12 #175212 #123752 #4D1252
square
#522D12 #175212 #123752 #4D1252
split-complementary
#522D12 #12524D #121752
monochromatic
#190E06 #201107 #522D12 #84491D #B66428

Accessibility & contrast

On white

12.05
#522D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#522D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522D12
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522D12#FFFFFF#000000##FFFFFF
##522D121.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310F
Deuteranopia (green-blind)
#413912
Tritanopia (blue-blind)
#5A2527
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #522d12;
/* rgb */ color: rgb(82, 45, 18);
/* oklch */ color: oklch(33.9% 0.067 54.1);
Tailwind
colors: {
  custom: {
    50: '#876651',
    500: '#522d12',
    950: '#000000',
  },
}
SCSS
$custom: #522d12;
$custom-light: #876651;
$custom-dark: #000000;
JSON
{
  "hex": "#522d12",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 25.313,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33901,
    "c": 0.06714,
    "h": 54.1
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#522D12
secondary
#35678B
accent
#A1E741
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #522D12

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

Preview Lab → · Contrast checker → · Palette generator →

#522D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva