#5A400D#5A400D

#5A400D is a dark, moderate orange. Relative luminance 0.059; OKLCH L 39.1% C 0.074 H 79.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#5A400D
RGBrgb(90, 64, 13)
HSLhsl(40, 75%, 20%)
HSVhsv(40, 86%, 35%)
CMYKcmyk(0%, 28.9%, 85.6%, 64.7%)
CIE-LABlab(29.08, 6.12, 33.33)
CIE-LCHlch(29.08, 33.89, 79.60°)
OKLaboklab(39.09% 0.0135 0.0723)
OKLCHoklch(39.09% 0.074 79.4)
XYZxyz(6.1229, 5.8700, 1.1912)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A400D #0D275A
analogous
#5A190D #5A400D #4D5A0D
triadic
#5A400D #0D5A40 #400D5A
tetradic
#5A400D #0D5A19 #0D275A #5A0D4D
square
#5A400D #0D5A19 #0D275A #5A0D4D
split-complementary
#5A400D #0D4D5A #190D5A
monochromatic
#1B1304 #251A05 #5A400D #8F6615 #C58C1C

Accessibility & contrast

On white

9.66
#5A400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5A400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A400D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A400D#FFFFFF#000000##FFFFFF
##5A400D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4105
Deuteranopia (green-blind)
#50470F
Tritanopia (blue-blind)
#633936
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5a400d;
/* rgb */ color: rgb(90, 64, 13);
/* oklch */ color: oklch(39.1% 0.074 79.4);
Tailwind
colors: {
  custom: {
    50: '#8c7450',
    500: '#5a400d',
    950: '#000000',
  },
}
SCSS
$custom: #5a400d;
$custom-light: #8c7450;
$custom-dark: #000000;
JSON
{
  "hex": "#5a400d",
  "rgb": {
    "r": 90,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 39.74,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39088,
    "c": 0.07357,
    "h": 79.4
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#5A400D
secondary
#2E5194
accent
#76F136
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0802
muted
#7D7B78

Preview Lab

Preview with #5A400D

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

Preview Lab → · Contrast checker → · Palette generator →

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