#5A400E#5A400E

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

Color values

HEX#5A400E
RGBrgb(90, 64, 14)
HSLhsl(39, 73%, 20%)
HSVhsv(39, 84%, 35%)
CMYKcmyk(0%, 28.9%, 84.4%, 64.7%)
CIE-LABlab(29.09, 6.16, 32.91)
CIE-LCHlch(29.09, 33.48, 79.40°)
OKLaboklab(39.1% 0.0137 0.0717)
OKLCHoklch(39.1% 0.073 79.1)
XYZxyz(6.1295, 5.8726, 1.2261)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A400E #0E285A
analogous
#5A1A0E #5A400E #4E5A0E
triadic
#5A400E #0E5A40 #400E5A
tetradic
#5A400E #0E5A1A #0E285A #5A0E4E
square
#5A400E #0E5A1A #0E285A #5A0E4E
split-complementary
#5A400E #0E4E5A #1A0E5A
monochromatic
#1A1304 #251A06 #5A400E #8F6616 #C48B1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A400E#FFFFFF#000000##FFFFFF
##5A400E1.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)
#4A4106
Deuteranopia (green-blind)
#504710
Tritanopia (blue-blind)
#633936
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5a400e;
/* rgb */ color: rgb(90, 64, 14);
/* oklch */ color: oklch(39.1% 0.073 79.1);
Tailwind
colors: {
  custom: {
    50: '#8c7451',
    500: '#5a400e',
    950: '#000000',
  },
}
SCSS
$custom: #5a400e;
$custom-light: #8c7451;
$custom-dark: #000000;
JSON
{
  "hex": "#5a400e",
  "rgb": {
    "r": 90,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 39.474,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.07298,
    "h": 79.1
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#5A400E
secondary
#305294
accent
#77F038
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0802
muted
#7D7B78

Preview Lab

Preview with #5A400E

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

Preview Lab → · Contrast checker → · Palette generator →

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