#5A400F#5A400F

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

Color values

HEX#5A400F
RGBrgb(90, 64, 15)
HSLhsl(39, 71%, 21%)
HSVhsv(39, 83%, 35%)
CMYKcmyk(0%, 28.9%, 83.3%, 64.7%)
CIE-LABlab(29.10, 6.21, 32.48)
CIE-LCHlch(29.10, 33.07, 79.18°)
OKLaboklab(39.1% 0.014 0.071)
OKLCHoklch(39.1% 0.072 78.8)
XYZxyz(6.1365, 5.8754, 1.2627)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A400F #0F295A
analogous
#5A1A0F #5A400F #4E5A0F
triadic
#5A400F #0F5A40 #400F5A
tetradic
#5A400F #0F5A1A #0F295A #5A0F4E
square
#5A400F #0F5A1A #0F295A #5A0F4E
split-complementary
#5A400F #0F4E5A #1A0F5A
monochromatic
#1A1304 #261B06 #5A400F #8E6518 #C38B20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A400F#FFFFFF#000000##FFFFFF
##5A400F1.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)
#4A4107
Deuteranopia (green-blind)
#504711
Tritanopia (blue-blind)
#633936
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5a400f;
/* rgb */ color: rgb(90, 64, 15);
/* oklch */ color: oklch(39.1% 0.072 78.8);
Tailwind
colors: {
  custom: {
    50: '#8c7451',
    500: '#5a400f',
    950: '#000000',
  },
}
SCSS
$custom: #5a400f;
$custom-light: #8c7451;
$custom-dark: #000000;
JSON
{
  "hex": "#5a400f",
  "rgb": {
    "r": 90,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 39.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39104,
    "c": 0.07239,
    "h": 78.8
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#5A400F
secondary
#315394
accent
#78EE3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0802
muted
#7D7B78

Preview Lab

Preview with #5A400F

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

Preview Lab → · Contrast checker → · Palette generator →

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