#5C2812#5C2812

#5C2812 is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.6% C 0.083 H 42.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#5C2812
RGBrgb(92, 40, 18)
HSLhsl(18, 67%, 22%)
HSVhsv(18, 80%, 36%)
CMYKcmyk(0%, 56.5%, 80.4%, 63.9%)
CIE-LABlab(23.13, 22.16, 25.10)
CIE-LCHlch(23.13, 33.48, 48.55°)
OKLaboklab(34.56% 0.0618 0.0559)
OKLCHoklch(34.56% 0.083 42.1)
XYZxyz(5.2821, 3.8372, 1.0347)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2812 #12465C
analogous
#5C1221 #5C2812 #5C4D12
triadic
#5C2812 #125C28 #28125C
tetradic
#5C2812 #215C12 #12465C #4D125C
square
#5C2812 #215C12 #12465C #4D125C
split-complementary
#5C2812 #125C4D #12215C
monochromatic
#1A0B05 #291208 #5C2812 #8F3E1C #C25526

Accessibility & contrast

On white

11.88
#5C2812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5C2812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2812
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2812#FFFFFF#000000##FFFFFF
##5C28121.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300F
Deuteranopia (green-blind)
#433C11
Tritanopia (blue-blind)
#661D23
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c2812;
/* rgb */ color: rgb(92, 40, 18);
/* oklch */ color: oklch(34.6% 0.083 42.1);
Tailwind
colors: {
  custom: {
    50: '#8f6351',
    500: '#5c2812',
    950: '#000000',
  },
}
SCSS
$custom: #5c2812;
$custom-light: #8f6351;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2812",
  "rgb": {
    "r": 92,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 17.838,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34561,
    "c": 0.08328,
    "h": 42.1
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#5C2812
secondary
#357894
accent
#B7EA3E
background
#F9F5F4
surface
#F2EAE7
border
#CCC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5C2812

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

Preview Lab → · Contrast checker → · Palette generator →

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