#522D18#522D18

#522D18 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 34.0% C 0.064 H 49.0°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#522D18
RGBrgb(82, 45, 24)
HSLhsl(22, 55%, 21%)
HSVhsv(22, 71%, 32%)
CMYKcmyk(0%, 45.1%, 70.7%, 67.8%)
CIE-LABlab(22.78, 14.83, 20.65)
CIE-LCHlch(22.78, 25.42, 54.32°)
OKLaboklab(33.99% 0.0417 0.048)
OKLCHoklch(33.99% 0.064 49)
XYZxyz(4.5833, 3.7370, 1.3439)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522D18 #183D52
analogous
#521820 #522D18 #524A18
triadic
#522D18 #18522D #2D1852
tetradic
#522D18 #205218 #183D52 #4A1852
square
#522D18 #205218 #183D52 #4A1852
split-complementary
#522D18 #18524A #182052
monochromatic
#180D07 #23130A #522D18 #814726 #B16134

Accessibility & contrast

On white

12.02
#522D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#522D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522D18
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522D18#FFFFFF#000000##FFFFFF
##522D181.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#403A18
Tritanopia (blue-blind)
#5A2628
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #522d18;
/* rgb */ color: rgb(82, 45, 24);
/* oklch */ color: oklch(34.0% 0.064 49.0);
Tailwind
colors: {
  custom: {
    50: '#866655',
    500: '#522d18',
    950: '#000000',
  },
}
SCSS
$custom: #522d18;
$custom-light: #866655;
$custom-dark: #000000;
JSON
{
  "hex": "#522d18",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 21.724,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33986,
    "c": 0.06358,
    "h": 49
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#522D18
secondary
#3D6D89
accent
#A8DE4A
background
#F8F6F5
surface
#F0EBE8
border
#CBC6C4
text
#0C0603
muted
#7D7A78

Preview Lab

Preview with #522D18

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

Preview Lab → · Contrast checker → · Palette generator →

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