#5A2811#5A2811

#5A2811 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 34.2% C 0.081 H 43.5°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#5A2811
RGBrgb(90, 40, 17)
HSLhsl(19, 68%, 21%)
HSVhsv(19, 81%, 35%)
CMYKcmyk(0%, 55.6%, 81.1%, 64.7%)
CIE-LABlab(22.77, 21.21, 25.19)
CIE-LCHlch(22.77, 32.93, 49.90°)
OKLaboklab(34.21% 0.0589 0.0559)
OKLCHoklch(34.21% 0.081 43.5)
XYZxyz(5.0769, 3.7323, 0.9833)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2811 #11435A
analogous
#5A111E #5A2811 #5A4C11
triadic
#5A2811 #115A28 #28115A
tetradic
#5A2811 #1E5A11 #11435A #4C115A
square
#5A2811 #1E5A11 #11435A #4C115A
split-complementary
#5A2811 #115A4C #111E5A
monochromatic
#1A0B05 #271107 #5A2811 #8D3F1B #C15624

Accessibility & contrast

On white

12.02
#5A2811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5A2811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2811
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2811#FFFFFF#000000##FFFFFF
##5A28111.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0E
Deuteranopia (green-blind)
#423B10
Tritanopia (blue-blind)
#631D23
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a2811;
/* rgb */ color: rgb(90, 40, 17);
/* oklch */ color: oklch(34.2% 0.081 43.5);
Tailwind
colors: {
  custom: {
    50: '#8e6350',
    500: '#5a2811',
    950: '#000000',
  },
}
SCSS
$custom: #5a2811;
$custom-light: #8e6350;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2811",
  "rgb": {
    "r": 90,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 18.904,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34214,
    "c": 0.08121,
    "h": 43.5
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#5A2811
secondary
#347593
accent
#B4EB3D
background
#F9F5F4
surface
#F1EAE7
border
#CBC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5A2811

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

Preview Lab → · Contrast checker → · Palette generator →

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