#5A4212#5A4212

#5A4212 is a dark, moderate orange. Relative luminance 0.061; OKLCH L 39.6% C 0.071 H 80.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#5A4212
RGBrgb(90, 66, 18)
HSLhsl(40, 67%, 21%)
HSVhsv(40, 80%, 35%)
CMYKcmyk(0%, 26.7%, 80%, 64.7%)
CIE-LABlab(29.70, 5.10, 31.69)
CIE-LCHlch(29.70, 32.10, 80.86°)
OKLaboklab(39.58% 0.0112 0.0701)
OKLCHoklch(39.58% 0.071 80.9)
XYZxyz(6.2743, 6.1142, 1.4219)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4212 #122A5A
analogous
#5A1E12 #5A4212 #4E5A12
triadic
#5A4212 #125A42 #42125A
tetradic
#5A4212 #125A1E #122A5A #5A124E
square
#5A4212 #125A1E #122A5A #5A124E
split-complementary
#5A4212 #124E5A #1E125A
monochromatic
#1A1305 #271D08 #5A4212 #8D671C #C08D26

Accessibility & contrast

On white

9.45
#5A4212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5A4212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4212
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4212#FFFFFF#000000##FFFFFF
##5A42121.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C420B
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#623B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5a4212;
/* rgb */ color: rgb(90, 66, 18);
/* oklch */ color: oklch(39.6% 0.071 80.9);
Tailwind
colors: {
  custom: {
    50: '#8c7653',
    500: '#5a4212',
    950: '#000000',
  },
}
SCSS
$custom: #5a4212;
$custom-light: #8c7653;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4212",
  "rgb": {
    "r": 90,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 40,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39583,
    "c": 0.07096,
    "h": 80.9
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#5A4212
secondary
#355493
accent
#77EA3E
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0803
muted
#7D7B78

Preview Lab

Preview with #5A4212

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

Preview Lab → · Contrast checker → · Palette generator →

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