#522A17#522A17

#522A17 is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.4% C 0.067 H 45.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#522A17
RGBrgb(82, 42, 23)
HSLhsl(19, 56%, 21%)
HSVhsv(19, 72%, 32%)
CMYKcmyk(0%, 48.8%, 72%, 67.8%)
CIE-LABlab(21.99, 16.64, 20.34)
CIE-LCHlch(21.99, 26.28, 50.71°)
OKLaboklab(33.37% 0.047 0.0472)
OKLCHoklch(33.37% 0.067 45.1)
XYZxyz(4.4627, 3.5121, 1.2533)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522A17 #173F52
analogous
#521721 #522A17 #524717
triadic
#522A17 #17522A #2A1752
tetradic
#522A17 #215217 #173F52 #471752
square
#522A17 #215217 #173F52 #471752
split-complementary
#522A17 #175247 #172152
monochromatic
#180C07 #22120A #522A17 #824224 #B25B32

Accessibility & contrast

On white

12.34
#522A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#522A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522A17
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522A17#FFFFFF#000000##FFFFFF
##522A171.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F15
Deuteranopia (green-blind)
#3F3817
Tritanopia (blue-blind)
#5A2226
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #522a17;
/* rgb */ color: rgb(82, 42, 23);
/* oklch */ color: oklch(33.4% 0.067 45.1);
Tailwind
colors: {
  custom: {
    50: '#866454',
    500: '#522a17',
    950: '#000000',
  },
}
SCSS
$custom: #522a17;
$custom-light: #866454;
$custom-dark: #000000;
JSON
{
  "hex": "#522a17",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 19.322,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.0666,
    "h": 45.1
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#522A17
secondary
#3C7089
accent
#AFDF48
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0503
muted
#7D7A78

Preview Lab

Preview with #522A17

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

Preview Lab → · Contrast checker → · Palette generator →

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