#522812#522812

#522812 is a dark, moderate orange. Relative luminance 0.034; OKLCH L 32.9% C 0.071 H 46.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#522812
RGBrgb(82, 40, 18)
HSLhsl(21, 64%, 20%)
HSVhsv(21, 78%, 32%)
CMYKcmyk(0%, 51.2%, 78%, 67.8%)
CIE-LABlab(21.42, 17.55, 22.75)
CIE-LCHlch(21.42, 28.73, 52.36°)
OKLaboklab(32.91% 0.0488 0.0514)
OKLCHoklch(32.91% 0.071 46.5)
XYZxyz(4.3480, 3.3556, 0.9909)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522812 #123C52
analogous
#52121C #522812 #524812
triadic
#522812 #125228 #281252
tetradic
#522812 #1C5212 #123C52 #481252
square
#522812 #1C5212 #123C52 #481252
split-complementary
#522812 #125248 #121C52
monochromatic
#190C06 #201007 #522812 #84401D #B65928

Accessibility & contrast

On white

12.57
#522812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#522812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522812
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522812#FFFFFF#000000##FFFFFF
##5228121.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E10
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#5A1F23
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #522812;
/* rgb */ color: rgb(82, 40, 18);
/* oklch */ color: oklch(32.9% 0.071 46.5);
Tailwind
colors: {
  custom: {
    50: '#876251',
    500: '#522812',
    950: '#000000',
  },
}
SCSS
$custom: #522812;
$custom-light: #876251;
$custom-dark: #000000;
JSON
{
  "hex": "#522812",
  "rgb": {
    "r": 82,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 20.625,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3291,
    "c": 0.07088,
    "h": 46.5
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#522812
secondary
#356D8B
accent
#AEE741
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #522812

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

Preview Lab → · Contrast checker → · Palette generator →

#522812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva