#542312#542312

#542312 is a dark, moderate orange. Relative luminance 0.031; OKLCH L 32.3% C 0.078 H 39.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#542312
RGBrgb(84, 35, 18)
HSLhsl(15, 65%, 20%)
HSVhsv(15, 79%, 33%)
CMYKcmyk(0%, 58.3%, 78.6%, 67.1%)
CIE-LABlab(20.56, 21.49, 21.91)
CIE-LCHlch(20.56, 30.69, 45.56°)
OKLaboklab(32.33% 0.0606 0.0495)
OKLCHoklch(32.33% 0.078 39.3)
XYZxyz(4.3668, 3.1311, 0.9466)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542312 #124354
analogous
#541222 #542312 #544412
triadic
#542312 #125423 #231254
tetradic
#542312 #225412 #124354 #441254
square
#542312 #225412 #124354 #441254
split-complementary
#542312 #125444 #122254
monochromatic
#190B05 #220E07 #542312 #86381D #B94D28

Accessibility & contrast

On white

12.91
#542312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#542312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542312
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542312#FFFFFF#000000##FFFFFF
##5423121.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B10
Deuteranopia (green-blind)
#3C3611
Tritanopia (blue-blind)
#5D191F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #542312;
/* rgb */ color: rgb(84, 35, 18);
/* oklch */ color: oklch(32.3% 0.078 39.3);
Tailwind
colors: {
  custom: {
    50: '#895f50',
    500: '#542312',
    950: '#000000',
  },
}
SCSS
$custom: #542312;
$custom-light: #895f50;
$custom-dark: #000000;
JSON
{
  "hex": "#542312",
  "rgb": {
    "r": 84,
    "g": 35,
    "b": 18
  },
  "hsl": {
    "h": 15.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.32328,
    "c": 0.07823,
    "h": 39.3
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#542312
secondary
#35768D
accent
#BDE840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #542312

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

Preview Lab → · Contrast checker → · Palette generator →

#542312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva