#5A2E12#5A2E12

#5A2E12 is a dark, moderate orange. Relative luminance 0.042; OKLCH L 35.3% C 0.076 H 50.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#5A2E12
RGBrgb(90, 46, 18)
HSLhsl(23, 67%, 21%)
HSVhsv(23, 80%, 35%)
CMYKcmyk(0%, 48.9%, 80%, 64.7%)
CIE-LABlab(24.23, 17.65, 26.15)
CIE-LCHlch(24.23, 31.55, 55.99°)
OKLaboklab(35.34% 0.0483 0.0583)
OKLCHoklch(35.34% 0.076 50.3)
XYZxyz(5.3031, 4.1719, 1.0981)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2E12 #123E5A
analogous
#5A121A #5A2E12 #5A5212
triadic
#5A2E12 #125A2E #2E125A
tetradic
#5A2E12 #1A5A12 #123E5A #52125A
square
#5A2E12 #1A5A12 #123E5A #52125A
split-complementary
#5A2E12 #125A52 #121A5A
monochromatic
#1A0D05 #271408 #5A2E12 #8D481C #C06226

Accessibility & contrast

On white

11.45
#5A2E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5A2E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2E12
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2E12#FFFFFF#000000##FFFFFF
##5A2E121.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#632528
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5a2e12;
/* rgb */ color: rgb(90, 46, 18);
/* oklch */ color: oklch(35.3% 0.076 50.3);
Tailwind
colors: {
  custom: {
    50: '#8d6751',
    500: '#5a2e12',
    950: '#000000',
  },
}
SCSS
$custom: #5a2e12;
$custom-light: #8d6751;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2e12",
  "rgb": {
    "r": 90,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 23.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35339,
    "c": 0.07566,
    "h": 50.3
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#5A2E12
secondary
#356E93
accent
#A7EA3E
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A2E12

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

Preview Lab → · Contrast checker → · Palette generator →

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