#5A3E0C#5A3E0C

#5A3E0C is a dark, moderate orange. Relative luminance 0.056; OKLCH L 38.6% C 0.074 H 76.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#5A3E0C
RGBrgb(90, 62, 12)
HSLhsl(38, 76%, 20%)
HSVhsv(38, 87%, 35%)
CMYKcmyk(0%, 31.1%, 86.7%, 64.7%)
CIE-LABlab(28.50, 7.34, 33.21)
CIE-LCHlch(28.50, 34.02, 77.55°)
OKLaboklab(38.63% 0.0169 0.0718)
OKLCHoklch(38.63% 0.074 76.8)
XYZxyz(6.0059, 5.6460, 1.1212)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3E0C #0C285A
analogous
#5A170C #5A3E0C #4F5A0C
triadic
#5A3E0C #0C5A3E #3E0C5A
tetradic
#5A3E0C #0C5A17 #0C285A #5A0C4F
square
#5A3E0C #0C5A17 #0C285A #5A0C4F
split-complementary
#5A3E0C #0C4F5A #170C5A
monochromatic
#1B1304 #241905 #5A3E0C #906313 #C6881A

Accessibility & contrast

On white

9.86
#5A3E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5A3E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3E0C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3E0C#FFFFFF#000000##FFFFFF
##5A3E0C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F04
Deuteranopia (green-blind)
#4F460E
Tritanopia (blue-blind)
#633634
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5a3e0c;
/* rgb */ color: rgb(90, 62, 12);
/* oklch */ color: oklch(38.6% 0.074 76.8);
Tailwind
colors: {
  custom: {
    50: '#8d7350',
    500: '#5a3e0c',
    950: '#000000',
  },
}
SCSS
$custom: #5a3e0c;
$custom-light: #8d7350;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3e0c",
  "rgb": {
    "r": 90,
    "g": 62,
    "b": 12
  },
  "hsl": {
    "h": 38.462,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.38632,
    "c": 0.07377,
    "h": 76.8
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#5A3E0C
secondary
#2D5295
accent
#79F335
background
#F9F6F4
surface
#F1ECE7
border
#CBC7C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5A3E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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