#5A4012#5A4012

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

Color values

HEX#5A4012
RGBrgb(90, 64, 18)
HSLhsl(38, 67%, 21%)
HSVhsv(38, 80%, 35%)
CMYKcmyk(0%, 28.9%, 80%, 64.7%)
CIE-LABlab(29.12, 6.35, 31.12)
CIE-LCHlch(29.12, 31.76, 78.46°)
OKLaboklab(39.13% 0.0149 0.0689)
OKLCHoklch(39.13% 0.07 77.8)
XYZxyz(6.1594, 5.8846, 1.3836)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4012 #122C5A
analogous
#5A1C12 #5A4012 #505A12
triadic
#5A4012 #125A40 #40125A
tetradic
#5A4012 #125A1C #122C5A #5A1250
square
#5A4012 #125A1C #122C5A #5A1250
split-complementary
#5A4012 #12505A #1C125A
monochromatic
#1A1205 #271C08 #5A4012 #8D641C #C08926

Accessibility & contrast

On white

9.65
#5A4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5A4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4012
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4012#FFFFFF#000000##FFFFFF
##5A40121.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#623937
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5a4012;
/* rgb */ color: rgb(90, 64, 18);
/* oklch */ color: oklch(39.1% 0.070 77.8);
Tailwind
colors: {
  custom: {
    50: '#8c7453',
    500: '#5a4012',
    950: '#000000',
  },
}
SCSS
$custom: #5a4012;
$custom-light: #8c7453;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4012",
  "rgb": {
    "r": 90,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 38.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.07043,
    "h": 77.8
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#5A4012
secondary
#355793
accent
#7CEA3E
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0802
muted
#7D7B78

Preview Lab

Preview with #5A4012

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

Preview Lab → · Contrast checker → · Palette generator →

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