#5A2C12#5A2C12

#5A2C12 is a dark, moderate orange. Relative luminance 0.040; OKLCH L 35.0% C 0.077 H 47.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#5A2C12
RGBrgb(90, 44, 18)
HSLhsl(22, 67%, 21%)
HSVhsv(22, 80%, 35%)
CMYKcmyk(0%, 51.1%, 80%, 64.7%)
CIE-LABlab(23.74, 18.87, 25.63)
CIE-LCHlch(23.74, 31.83, 53.65°)
OKLaboklab(34.96% 0.052 0.0571)
OKLCHoklch(34.96% 0.077 47.7)
XYZxyz(5.2268, 4.0193, 1.0727)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2C12 #12405A
analogous
#5A121C #5A2C12 #5A5012
triadic
#5A2C12 #125A2C #2C125A
tetradic
#5A2C12 #1C5A12 #12405A #50125A
square
#5A2C12 #1C5A12 #12405A #50125A
split-complementary
#5A2C12 #125A50 #121C5A
monochromatic
#1A0C05 #271308 #5A2C12 #8D451C #C05E26

Accessibility & contrast

On white

11.64
#5A2C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5A2C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2C12
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2C12#FFFFFF#000000##FFFFFF
##5A2C121.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320F
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#632226
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5a2c12;
/* rgb */ color: rgb(90, 44, 18);
/* oklch */ color: oklch(35.0% 0.077 47.7);
Tailwind
colors: {
  custom: {
    50: '#8d6651',
    500: '#5a2c12',
    950: '#000000',
  },
}
SCSS
$custom: #5a2c12;
$custom-light: #8d6651;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2c12",
  "rgb": {
    "r": 90,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 21.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34958,
    "c": 0.07723,
    "h": 47.7
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#5A2C12
secondary
#357193
accent
#ACEA3E
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A2C12

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

Preview Lab → · Contrast checker → · Palette generator →

#5A2C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva