#5A2A12#5A2A12

#5A2A12 is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.6% C 0.079 H 45.2°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#5A2A12
RGBrgb(90, 42, 18)
HSLhsl(20, 67%, 21%)
HSVhsv(20, 80%, 35%)
CMYKcmyk(0%, 53.3%, 80%, 64.7%)
CIE-LABlab(23.25, 20.07, 25.12)
CIE-LCHlch(23.25, 32.16, 51.38°)
OKLaboklab(34.59% 0.0556 0.056)
OKLCHoklch(34.59% 0.079 45.2)
XYZxyz(5.1541, 3.8739, 1.0485)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2A12 #12425A
analogous
#5A121E #5A2A12 #5A4E12
triadic
#5A2A12 #125A2A #2A125A
tetradic
#5A2A12 #1E5A12 #12425A #4E125A
square
#5A2A12 #1E5A12 #12425A #4E125A
split-complementary
#5A2A12 #125A4E #121E5A
monochromatic
#1A0C05 #271208 #5A2A12 #8D421C #C05A26

Accessibility & contrast

On white

11.83
#5A2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5A2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2A12
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2A12#FFFFFF#000000##FFFFFF
##5A2A121.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37310F
Deuteranopia (green-blind)
#433C11
Tritanopia (blue-blind)
#632025
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a2a12;
/* rgb */ color: rgb(90, 42, 18);
/* oklch */ color: oklch(34.6% 0.079 45.2);
Tailwind
colors: {
  custom: {
    50: '#8d6451',
    500: '#5a2a12',
    950: '#000000',
  },
}
SCSS
$custom: #5a2a12;
$custom-light: #8d6451;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2a12",
  "rgb": {
    "r": 90,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 20,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34587,
    "c": 0.07896,
    "h": 45.2
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#5A2A12
secondary
#357393
accent
#B0EA3E
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0502
muted
#7E7A78

Preview Lab

Preview with #5A2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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