#5A3E12#5A3E12

#5A3E12 is a dark, moderate orange. Relative luminance 0.057; OKLCH L 38.7% C 0.070 H 74.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#5A3E12
RGBrgb(90, 62, 18)
HSLhsl(37, 67%, 21%)
HSVhsv(37, 80%, 35%)
CMYKcmyk(0%, 31.1%, 80%, 64.7%)
CIE-LABlab(28.55, 7.61, 30.55)
CIE-LCHlch(28.55, 31.49, 76.01°)
OKLaboklab(38.68% 0.0185 0.0676)
OKLCHoklch(38.68% 0.07 74.7)
XYZxyz(6.0487, 5.6631, 1.3467)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3E12 #122E5A
analogous
#5A1A12 #5A3E12 #525A12
triadic
#5A3E12 #125A3E #3E125A
tetradic
#5A3E12 #125A1A #122E5A #5A1252
square
#5A3E12 #125A1A #122E5A #5A1252
split-complementary
#5A3E12 #12525A #1A125A
monochromatic
#1A1205 #271B08 #5A3E12 #8D611C #C08426

Accessibility & contrast

On white

9.85
#5A3E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5A3E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3E12
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3E12#FFFFFF#000000##FFFFFF
##5A3E121.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0C
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#633735
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5a3e12;
/* rgb */ color: rgb(90, 62, 18);
/* oklch */ color: oklch(38.7% 0.070 74.7);
Tailwind
colors: {
  custom: {
    50: '#8c7353',
    500: '#5a3e12',
    950: '#000000',
  },
}
SCSS
$custom: #5a3e12;
$custom-light: #8c7353;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3e12",
  "rgb": {
    "r": 90,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 36.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.07013,
    "h": 74.7
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#5A3E12
secondary
#355A93
accent
#81EA3E
background
#F8F6F4
surface
#F0ECE7
border
#CBC7C3
text
#0D0802
muted
#7D7B78

Preview Lab

Preview with #5A3E12

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

Preview Lab → · Contrast checker → · Palette generator →

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