#5A3F12#5A3F12

#5A3F12 is a dark, moderate orange. Relative luminance 0.058; OKLCH L 38.9% C 0.070 H 76.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#5A3F12
RGBrgb(90, 63, 18)
HSLhsl(38, 67%, 21%)
HSVhsv(38, 80%, 35%)
CMYKcmyk(0%, 30%, 80%, 64.7%)
CIE-LABlab(28.83, 6.98, 30.84)
CIE-LCHlch(28.83, 31.62, 77.24°)
OKLaboklab(38.91% 0.0167 0.0683)
OKLCHoklch(38.91% 0.07 76.3)
XYZxyz(6.1036, 5.7728, 1.3650)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3F12 #122D5A
analogous
#5A1B12 #5A3F12 #515A12
triadic
#5A3F12 #125A3F #3F125A
tetradic
#5A3F12 #125A1B #122D5A #5A1251
square
#5A3F12 #125A1B #122D5A #5A1251
split-complementary
#5A3F12 #12515A #1B125A
monochromatic
#1A1205 #271B08 #5A3F12 #8D631C #C08626

Accessibility & contrast

On white

9.75
#5A3F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5A3F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3F12
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3F12#FFFFFF#000000##FFFFFF
##5A3F121.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400C
Deuteranopia (green-blind)
#4F4714
Tritanopia (blue-blind)
#633836
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5a3f12;
/* rgb */ color: rgb(90, 63, 18);
/* oklch */ color: oklch(38.9% 0.070 76.3);
Tailwind
colors: {
  custom: {
    50: '#8c7353',
    500: '#5a3f12',
    950: '#000000',
  },
}
SCSS
$custom: #5a3f12;
$custom-light: #8c7353;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3f12",
  "rgb": {
    "r": 90,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 37.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38905,
    "c": 0.07026,
    "h": 76.3
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#5A3F12
secondary
#355893
accent
#7EEA3E
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0802
muted
#7D7B78

Preview Lab

Preview with #5A3F12

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

Preview Lab → · Contrast checker → · Palette generator →

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