#5A3F0C#5A3F0C

#5A3F0C is a dark, moderate orange. Relative luminance 0.058; OKLCH L 38.9% C 0.074 H 78.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#5A3F0C
RGBrgb(90, 63, 12)
HSLhsl(39, 76%, 20%)
HSVhsv(39, 87%, 35%)
CMYKcmyk(0%, 30%, 86.7%, 64.7%)
CIE-LABlab(28.79, 6.71, 33.47)
CIE-LCHlch(28.79, 34.14, 78.67°)
OKLaboklab(38.86% 0.0151 0.0724)
OKLCHoklch(38.86% 0.074 78.2)
XYZxyz(6.0608, 5.7557, 1.1395)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3F0C #0C275A
analogous
#5A180C #5A3F0C #4E5A0C
triadic
#5A3F0C #0C5A3F #3F0C5A
tetradic
#5A3F0C #0C5A18 #0C275A #5A0C4E
square
#5A3F0C #0C5A18 #0C275A #5A0C4E
split-complementary
#5A3F0C #0C4E5A #180C5A
monochromatic
#1B1304 #241905 #5A3F0C #906513 #C68B1A

Accessibility & contrast

On white

9.76
#5A3F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5A3F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3F0C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3F0C#FFFFFF#000000##FFFFFF
##5A3F0C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494004
Deuteranopia (green-blind)
#50470E
Tritanopia (blue-blind)
#633735
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5a3f0c;
/* rgb */ color: rgb(90, 63, 12);
/* oklch */ color: oklch(38.9% 0.074 78.2);
Tailwind
colors: {
  custom: {
    50: '#8d7350',
    500: '#5a3f0c',
    950: '#000000',
  },
}
SCSS
$custom: #5a3f0c;
$custom-light: #8d7350;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3f0c",
  "rgb": {
    "r": 90,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 39.231,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.07392,
    "h": 78.2
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#5A3F0C
secondary
#2D5195
accent
#77F335
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5A3F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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