#5A3012#5A3012

#5A3012 is a dark, moderate orange. Relative luminance 0.043; OKLCH L 35.7% C 0.074 H 53.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#5A3012
RGBrgb(90, 48, 18)
HSLhsl(25, 67%, 21%)
HSVhsv(25, 80%, 35%)
CMYKcmyk(0%, 46.7%, 80%, 64.7%)
CIE-LABlab(24.74, 16.41, 26.68)
CIE-LCHlch(24.74, 31.33, 58.40°)
OKLaboklab(35.73% 0.0446 0.0594)
OKLCHoklch(35.73% 0.074 53.1)
XYZxyz(5.3831, 4.3318, 1.1248)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A3012 #123C5A
analogous
#5A1218 #5A3012 #5A5412
triadic
#5A3012 #125A30 #30125A
tetradic
#5A3012 #185A12 #123C5A #54125A
square
#5A3012 #185A12 #123C5A #54125A
split-complementary
#5A3012 #125A54 #12185A
monochromatic
#1A0E05 #271508 #5A3012 #8D4B1C #C06626

Accessibility & contrast

On white

11.25
#5A3012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5A3012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A3012
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A3012#FFFFFF#000000##FFFFFF
##5A30121.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350E
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#63272A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5a3012;
/* rgb */ color: rgb(90, 48, 18);
/* oklch */ color: oklch(35.7% 0.074 53.1);
Tailwind
colors: {
  custom: {
    50: '#8d6851',
    500: '#5a3012',
    950: '#000000',
  },
}
SCSS
$custom: #5a3012;
$custom-light: #8d6851;
$custom-dark: #000000;
JSON
{
  "hex": "#5a3012",
  "rgb": {
    "r": 90,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 25,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35729,
    "c": 0.07425,
    "h": 53.1
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#5A3012
secondary
#356C93
accent
#A2EA3E
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A3012

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

Preview Lab → · Contrast checker → · Palette generator →

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