#5A3F0F#5A3F0F

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

Color values

HEX#5A3F0F
RGBrgb(90, 63, 15)
HSLhsl(38, 71%, 21%)
HSVhsv(38, 83%, 35%)
CMYKcmyk(0%, 30%, 83.3%, 64.7%)
CIE-LABlab(28.81, 6.83, 32.21)
CIE-LCHlch(28.81, 32.93, 78.02°)
OKLaboklab(38.88% 0.0158 0.0704)
OKLCHoklch(38.88% 0.072 77.3)
XYZxyz(6.0806, 5.7637, 1.2441)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3F0F #0F2A5A
analogous
#5A190F #5A3F0F #4F5A0F
triadic
#5A3F0F #0F5A3F #3F0F5A
tetradic
#5A3F0F #0F5A19 #0F2A5A #5A0F4F
square
#5A3F0F #0F5A19 #0F2A5A #5A0F4F
split-complementary
#5A3F0F #0F4F5A #190F5A
monochromatic
#1A1204 #261A06 #5A3F0F #8E6418 #C38820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A3F0F#FFFFFF#000000##FFFFFF
##5A3F0F1.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)
#494007
Deuteranopia (green-blind)
#504711
Tritanopia (blue-blind)
#633836
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5a3f0f;
/* rgb */ color: rgb(90, 63, 15);
/* oklch */ color: oklch(38.9% 0.072 77.3);
Tailwind
colors: {
  custom: {
    50: '#8c7351',
    500: '#5a3f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5a3f0f;
$custom-light: #8c7351;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3f0f",
  "rgb": {
    "r": 90,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 38.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.07219,
    "h": 77.3
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#5A3F0F
secondary
#315594
accent
#7BEE3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0802
muted
#7D7B78

Preview Lab

Preview with #5A3F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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