#5A2D12#5A2D12

#5A2D12 is a dark, moderate orange. Relative luminance 0.041; OKLCH L 35.1% C 0.076 H 49.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#5A2D12
RGBrgb(90, 45, 18)
HSLhsl(23, 67%, 21%)
HSVhsv(23, 80%, 35%)
CMYKcmyk(0%, 50%, 80%, 64.7%)
CIE-LABlab(23.98, 18.26, 25.89)
CIE-LCHlch(23.98, 31.68, 54.81°)
OKLaboklab(35.15% 0.0501 0.0577)
OKLCHoklch(35.15% 0.076 49)
XYZxyz(5.2645, 4.0947, 1.0853)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2D12 #123F5A
analogous
#5A121B #5A2D12 #5A5112
triadic
#5A2D12 #125A2D #2D125A
tetradic
#5A2D12 #1B5A12 #123F5A #51125A
square
#5A2D12 #1B5A12 #123F5A #51125A
split-complementary
#5A2D12 #125A51 #121B5A
monochromatic
#1A0D05 #271308 #5A2D12 #8D461C #C06026

Accessibility & contrast

On white

11.55
#5A2D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5A2D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2D12
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2D12#FFFFFF#000000##FFFFFF
##5A2D121.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330F
Deuteranopia (green-blind)
#453D11
Tritanopia (blue-blind)
#632427
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5a2d12;
/* rgb */ color: rgb(90, 45, 18);
/* oklch */ color: oklch(35.1% 0.076 49.0);
Tailwind
colors: {
  custom: {
    50: '#8d6651',
    500: '#5a2d12',
    950: '#000000',
  },
}
SCSS
$custom: #5a2d12;
$custom-light: #8d6651;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2d12",
  "rgb": {
    "r": 90,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 22.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35148,
    "c": 0.07643,
    "h": 49
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#5A2D12
secondary
#357093
accent
#A9EA3E
background
#F9F6F4
surface
#F1EBE7
border
#CBC6C3
text
#0D0602
muted
#7E7A78

Preview Lab

Preview with #5A2D12

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

Preview Lab → · Contrast checker → · Palette generator →

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