#5A301C#5A301C

#5A301C is a dark, moderate orange. Relative luminance 0.044; OKLCH L 35.9% C 0.069 H 45.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#5A301C
RGBrgb(90, 48, 28)
HSLhsl(19, 53%, 23%)
HSVhsv(19, 69%, 35%)
CMYKcmyk(0%, 46.7%, 68.9%, 64.7%)
CIE-LABlab(24.86, 17.06, 20.93)
CIE-LCHlch(24.86, 27.00, 50.82°)
OKLaboklab(35.87% 0.0484 0.049)
OKLCHoklch(35.87% 0.069 45.3)
XYZxyz(5.4834, 4.3720, 1.6535)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A301C #1C465A
analogous
#5A1C27 #5A301C #5A4F1C
triadic
#5A301C #1C5A30 #301C5A
tetradic
#5A301C #275A1C #1C465A #4F1C5A
square
#5A301C #275A1C #1C465A #4F1C5A
split-complementary
#5A301C #1C5A4F #1C275A
monochromatic
#170C07 #2B170D #5A301C #89492B #B76239

Accessibility & contrast

On white

11.20
#5A301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5A301C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A301C
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A301C#FFFFFF#000000##FFFFFF
##5A301C1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351A
Deuteranopia (green-blind)
#453F1C
Tritanopia (blue-blind)
#63282B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5a301c;
/* rgb */ color: rgb(90, 48, 28);
/* oklch */ color: oklch(35.9% 0.069 45.3);
Tailwind
colors: {
  custom: {
    50: '#8c6958',
    500: '#5a301c',
    950: '#000000',
  },
}
SCSS
$custom: #5a301c;
$custom-light: #8c6958;
$custom-dark: #000000;
JSON
{
  "hex": "#5a301c",
  "rgb": {
    "r": 90,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 19.355,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35866,
    "c": 0.06884,
    "h": 45.3
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#5A301C
secondary
#42778F
accent
#ADDC4C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0D0603
muted
#7D7A78

Preview Lab

Preview with #5A301C

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

Preview Lab → · Contrast checker → · Palette generator →

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