#5A301B#5A301B

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

Color values

HEX#5A301B
RGBrgb(90, 48, 27)
HSLhsl(20, 54%, 23%)
HSVhsv(20, 70%, 35%)
CMYKcmyk(0%, 46.7%, 70%, 64.7%)
CIE-LABlab(24.85, 16.98, 21.53)
CIE-LCHlch(24.85, 27.42, 51.73°)
OKLaboklab(35.85% 0.048 0.0501)
OKLCHoklch(35.85% 0.069 46.2)
XYZxyz(5.4717, 4.3673, 1.5915)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A301B #1B455A
analogous
#5A1B25 #5A301B #5A4F1B
triadic
#5A301B #1B5A30 #301B5A
tetradic
#5A301B #255A1B #1B455A #4F1B5A
square
#5A301B #255A1B #1B455A #4F1B5A
split-complementary
#5A301B #1B5A4F #1B255A
monochromatic
#180D07 #2B170D #5A301B #894929 #B86237

Accessibility & contrast

On white

11.21
#5A301B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A301B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A301B#FFFFFF#000000##FFFFFF
##5A301B1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3519
Deuteranopia (green-blind)
#463F1B
Tritanopia (blue-blind)
#63282B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5a301b;
/* rgb */ color: rgb(90, 48, 27);
/* oklch */ color: oklch(35.9% 0.069 46.2);
Tailwind
colors: {
  custom: {
    50: '#8c6958',
    500: '#5a301b',
    950: '#000000',
  },
}
SCSS
$custom: #5a301b;
$custom-light: #8c6958;
$custom-dark: #000000;
JSON
{
  "hex": "#5a301b",
  "rgb": {
    "r": 90,
    "g": 48,
    "b": 27
  },
  "hsl": {
    "h": 20,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3585,
    "c": 0.06938,
    "h": 46.2
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#5A301B
secondary
#417690
accent
#ACDD4B
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0D0603
muted
#7D7A78

Preview Lab

Preview with #5A301B

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

Preview Lab → · Contrast checker → · Palette generator →

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